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).
pull/54916/head
ubruns 6 years ago committed by Alicia Cozine
parent 65d7f0d17b
commit 301d561420

@ -109,6 +109,8 @@ for credentials in ``$HOME/.azure/credentials``. This file is an ini style file.
secret=xxxxxxxxxxxxxxxxx secret=xxxxxxxxxxxxxxxxx
tenant=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 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 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 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. environment or pass a profile parameter to specify a specific profile.

Loading…
Cancel
Save