diff options
author | caishan <caishan1993@foxmail.com> | 2018-03-20 23:34:03 -0700 |
---|---|---|
committer | caishan <caishan1993@foxmail.com> | 2018-03-20 23:34:03 -0700 |
commit | 38a0bff71a648e2207c7a888401f9da231966da4 (patch) | |
tree | 8493a1b4a2c309e7f5e3fe77d1df6f569c587d2c /doc | |
parent | 558580febfe7c468e6aefe4dc78f28be30f74ace (diff) | |
download | python-glanceclient-38a0bff71a648e2207c7a888401f9da231966da4.tar.gz |
Fix docs cli authorize environment variables
OpenStack is deprecating 'tenant'. So use 'project' instead of 'tenant'
Change-Id: I1dc4dbbbe1eb1d01b0750eaf7994956eb657c7a6
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/cli/glance.rst | 4 | ||||
-rw-r--r-- | doc/source/cli/index.rst | 4 |
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 |