mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fixing aiuth source (#42923)
This commit is contained in:
parent
aefe963483
commit
750774d768
2 changed files with 2 additions and 3 deletions
|
@ -23,8 +23,7 @@ except ImportError:
|
|||
AZURE_COMMON_ARGS = dict(
|
||||
auth_source=dict(
|
||||
type='str',
|
||||
choices=['auto', 'cli', 'env', 'credential_file', 'msi'],
|
||||
default='auto'
|
||||
choices=['auto', 'cli', 'env', 'credential_file', 'msi']
|
||||
),
|
||||
profile=dict(type='str'),
|
||||
subscription_id=dict(type='str', no_log=True),
|
||||
|
|
|
@ -70,6 +70,7 @@ options:
|
|||
auth_source:
|
||||
description:
|
||||
- Controls the source of the credentials to use for authentication.
|
||||
- If not specified, ANSIBLE_AZURE_AUTH_SOURCE environment variable will be used and default to C(auto) if variable is not defined.
|
||||
- C(auto) will follow the default precedence of module parameters -> environment variables -> default profile in credential file
|
||||
C(~/.azure/credentials).
|
||||
- When set to C(cli), the credentials will be sources from the default Azure CLI profile.
|
||||
|
@ -84,7 +85,6 @@ options:
|
|||
- credential_file
|
||||
- env
|
||||
- msi
|
||||
default: auto
|
||||
version_added: 2.5
|
||||
api_profile:
|
||||
description:
|
||||
|
|
Loading…
Reference in a new issue