From 38a0bff71a648e2207c7a888401f9da231966da4 Mon Sep 17 00:00:00 2001 From: caishan Date: Tue, 20 Mar 2018 23:34:03 -0700 Subject: [PATCH] Fix docs cli authorize environment variables OpenStack is deprecating 'tenant'. So use 'project' instead of 'tenant' Change-Id: I1dc4dbbbe1eb1d01b0750eaf7994956eb657c7a6 --- doc/source/cli/glance.rst | 4 ++-- 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 8d3cac0f..27215ef7 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 3d789749..5ed373ec 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