summaryrefslogtreecommitdiff
path: root/doc/source/cli
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-07-17 23:04:00 +0000
committerGerrit Code Review <review@openstack.org>2018-07-17 23:04:00 +0000
commit71abbfca2a5927d19ad5a7187bb2112e907b301a (patch)
tree1050cf98338f47dd693d3e44ad18120e6a5421e1 /doc/source/cli
parentc3afa0b70dc7fc2ff6272d23256e76fbc6ec4e47 (diff)
parent38a0bff71a648e2207c7a888401f9da231966da4 (diff)
downloadpython-glanceclient-71abbfca2a5927d19ad5a7187bb2112e907b301a.tar.gz
Merge "Fix docs cli authorize environment variables"
Diffstat (limited to 'doc/source/cli')
-rw-r--r--doc/source/cli/glance.rst4
-rw-r--r--doc/source/cli/index.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/cli/glance.rst b/doc/source/cli/glance.rst
index 8d3cac0..27215ef 100644
--- a/doc/source/cli/glance.rst
+++ b/doc/source/cli/glance.rst
@@ -23,12 +23,12 @@ Service (Glance).
In order to use the CLI, you must provide your OpenStack username, password,
project (historically called tenant), and auth endpoint. You can use
-configuration options ``--os-username``, ``--os-password``, ``--os-tenant-id``,
+configuration options ``--os-username``, ``--os-password``, ``--os-project-id``,
and ``--os-auth-url`` or set corresponding environment variables::
export OS_USERNAME=user
export OS_PASSWORD=pass
- export OS_TENANT_ID=b363706f891f48019483f8bd6503c54b
+ export OS_PROJECT_ID=b363706f891f48019483f8bd6503c54b
export OS_AUTH_URL=http://auth.example.com:5000/v2.0
The command line tool will attempt to reauthenticate using provided credentials
diff --git a/doc/source/cli/index.rst b/doc/source/cli/index.rst
index 3d78974..5ed373e 100644
--- a/doc/source/cli/index.rst
+++ b/doc/source/cli/index.rst
@@ -5,12 +5,12 @@
In order to use the CLI, you must provide your OpenStack username,
password, tenant, and auth endpoint. Use the corresponding
configuration options (``--os-username``, ``--os-password``,
-``--os-tenant-id``, and ``--os-auth-url``) or set them in environment
+``--os-project-id``, and ``--os-auth-url``) or set them in environment
variables::
export OS_USERNAME=user
export OS_PASSWORD=pass
- export OS_TENANT_ID=b363706f891f48019483f8bd6503c54b
+ export OS_PROJECT_ID=b363706f891f48019483f8bd6503c54b
export OS_AUTH_URL=http://auth.example.com:5000/v2.0
The command line tool will attempt to reauthenticate using your