mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-14 21:01:13 +00:00
Update guide_azure.rst (#54401)
* Update guide_azure.rst Added a note to the 'Storing in a file' section, that the secret value of the ini file should be UrlEncoded. Otherwise the user might get login errors (depends on the characters used in the secret).
This commit is contained in:
@@ -109,6 +109,8 @@ for credentials in ``$HOME/.azure/credentials``. This file is an ini style file.
|
||||
secret=xxxxxxxxxxxxxxxxx
|
||||
tenant=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
|
||||
|
||||
.. note:: If your secret values contain non-ASCII characters, you must `URL Encode <https://www.w3schools.com/tags/ref_urlencode.asp>`_ them to avoid login errors.
|
||||
|
||||
It is possible to store multiple sets of credentials within the credentials file by creating multiple sections. Each
|
||||
section is considered a profile. The modules look for the [default] profile automatically. Define AZURE_PROFILE in the
|
||||
environment or pass a profile parameter to specify a specific profile.
|
||||
|
||||
Reference in New Issue
Block a user