Skip to content

Commit 2e30185

Browse files
committed
docs: Add note about scoping on tokens
Change-Id: I4df74eaa1aa82fb8666bc1e6728b55a3e81bc76a Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
1 parent a8d2c56 commit 2e30185

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/source/cli/authentication.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,15 @@ or, using environment variables:
295295
296296
$ TOKEN=$(openstack token issue -f value -c id)
297297
298+
.. note::
299+
300+
The above examples assume you require a project-scoped token. You can omit
301+
the project-related configuration if your user has a default project ID set.
302+
Conversely, if requesting domain-scoped or system-scoped, you should update
303+
these examples accordingly. If the user does not have a default project
304+
configured and no scoping information is provided, the resulting token will
305+
be unscoped.
306+
298307
``v3totp``
299308
~~~~~~~~~~
300309

0 commit comments

Comments
 (0)