fixing aiuth source (#42923)

pull/40521/head
Zim Kalinowski 6 years ago committed by Yunge Zhu
parent aefe963483
commit 750774d768

@ -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…
Cancel
Save