docs: Update authentication configuration examples
Correct some typos that slipped through. Change-Id: I2c4353895d9317fb6dce93d6a4af8908937093c9 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -520,7 +520,7 @@ Examples
|
||||
``auth``
|
||||
~~~~~~~~
|
||||
|
||||
.. rubric:: Password-based authentication (domain-scoped)
|
||||
.. rubric:: Password-based authentication (project-scoped)
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
@@ -534,6 +534,18 @@ Examples
|
||||
username: admin
|
||||
region_name: RegionOne
|
||||
|
||||
.. rubric:: Password-based authentication (domain-scoped)
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
example:
|
||||
auth:
|
||||
auth_url: http://example.com/identity
|
||||
domain_id: default
|
||||
password: password
|
||||
username: admin
|
||||
region_name: RegionOne
|
||||
|
||||
.. rubric:: Password-based authentication (trust-scoped)
|
||||
|
||||
.. code-block:: yaml
|
||||
@@ -584,8 +596,8 @@ Examples
|
||||
|
||||
.. note::
|
||||
|
||||
This is a toy example: by their very definition token's are short-lived.
|
||||
You are unlikely to store them in a `clouds.yaml` file.
|
||||
This is a toy example: by their very definition tokens are short-lived.
|
||||
You are unlikely to store them in a ``clouds.yaml`` file.
|
||||
Instead, you would likely pass the TOTP token via the command line
|
||||
(``--os-token``) or as an environment variable (``OS_TOKEN``).
|
||||
|
||||
@@ -606,8 +618,8 @@ Examples
|
||||
|
||||
.. note::
|
||||
|
||||
This is a toy example: by their very definition TOTP token's are
|
||||
short-lived. You are unlikely to store them in a `clouds.yaml` file.
|
||||
This is a toy example: by their very definition TOTP tokens are
|
||||
short-lived. You are unlikely to store them in a ``clouds.yaml`` file.
|
||||
Instead, you would likely pass the TOTP token via the command line
|
||||
(``--os-passcode``) or as an environment variable (``OS_PASSCODE``).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user