-
Notifications
You must be signed in to change notification settings - Fork 91
Added configurable token_auth_method #478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 22s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 26s |
Noted: The test failures are a known issue and not related to this change |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 09s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 4m 14s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 19s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 48s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 24s |
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 16s |
007b634
to
329fbb2
Compare
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 7m 54s |
…lient-creds-inventory adding oauth client_credentials grant type to inven plugin
Build succeeded. ✔️ ansible-galaxy-importer SUCCESS in 3m 32s |
SUMMARY
Added configurable token_auth_method parameter to support both x-sn-apikey and Authorization Bearer headers for access tokens
ISSUE TYPE
COMPONENT NAME
plugins/module_utils/arguments.py
plugins/module_utils/client.py
tests/integration/targets/api_authentication/tasks/main.yml
ests/unit/plugins/module_utils/test_client.py
ADDITIONAL INFORMATION
Uses the API-key method as default, the User can choose Bearer method by stating:
"token_auth_method": "bearer"