mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-29 16:11:22 -07:00
tss: add option for token authorization (#3327)
* Added token parameter for AccessTokenAuthorizer Parameters username and password are not required anymore because of this. * Added changelog fragments * Apply suggestions from code review Co-authored-by: Ajpantuso <ajpantuso@gmail.com> * token authorizer is prioritized token authorizer is prioritized when token parameter is set * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> * domain optional if token not provided * Updated examples - `base_url` is required everywhere - examples for user, name + domain authorization included - token authorization included * Update 3327-tss-token-authorization.yml * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Ajpantuso <ajpantuso@gmail.com> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
bd63da680d
commit
dc8d076a25
2 changed files with 57 additions and 17 deletions
4
changelogs/fragments/3327-tss-token-authorization.yml
Normal file
4
changelogs/fragments/3327-tss-token-authorization.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
minor_changes:
|
||||
- tss lookup plugin - added ``token`` parameter for token authorization;
|
||||
``username`` and ``password`` are optional when ``token`` is provided
|
||||
(https://github.com/ansible-collections/community.general/pull/3327).
|
Loading…
Add table
Add a link
Reference in a new issue