oxidized
oxidized copied to clipboard
Multi step HTTP authentication
Hello,
Do you think it could be possible to add a multi step auth for the HTTP input ? What I mean by that is :
- HTTP basic AUTH
- curl -v -X POST -u 'USER:PASSWORD' -k https://fmc.REDACTED.TLD/api/fmc_platform/v1/auth/generatetoken
- Server return Token access
- HTTP request to the API using that token previsously generated
- curl -H "Accept: application/json" -H "x-auth-access-token:TOKEN" --output backup.tar.gz -k https://fmc.REDACTED.TLD/api/fmc_config/v1/domain/DOMAIN_ID/backup/downloadbackup/manager
The Rest API of the Cisco FMC work that way and the token is only valid for 30min.
https://www.cisco.com/c/en/us/td/docs/security/firepower/740/api/REST/secure_firewall_management_center_rest_api_quick_start_guide_740/Connecting_With_A_Client.html
Thanks
I second this request. There are other applications out there as well that use this type of method to receive the API Token
This issue is stale because it has been open 90 days with no activity.
Will be solved by PR #3677