From 8354dd42918c47784ba85d00747d3ec5434f94bf Mon Sep 17 00:00:00 2001 From: caishan Date: Tue, 20 Mar 2018 18:13:41 -0700 Subject: [PATCH] Fix docs cli authorize environment variables In Keystone v3, we need to set OS_USER_DOMAIN_NAME and OS_PROJECT_DOMAIN_NAME as well. Use OS_PROJECT_NAME instead of OS_TENANT_NAME. Change-Id: I3b2c26929c394a877f5e3631a3807320ab55bde6 --- doc/source/cli/index.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/source/cli/index.rst b/doc/source/cli/index.rst index 77c24cf9..e23fd7f9 100644 --- a/doc/source/cli/index.rst +++ b/doc/source/cli/index.rst @@ -37,14 +37,18 @@ Service (Senlin). 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-name` or -`--os-tenant-id`, and `--os-auth-url` or set corresponding environment +configuration options `--os-username`, `--os-password`, `--os-project-name`, +`--os-identity-api-version`, `-os-user-domain-name`, `--os-project-domain-name` +and `--os-auth-url` or set corresponding environment variables:: export OS_USERNAME=user export OS_PASSWORD=pass - export OS_TENANT_NAME=myproject + export OS_PROJECT_NAME=myproject + export OS_IDENTITY_API_VERSION=3 export OS_AUTH_URL=http://auth.example.com:5000/v3 + export OS_USER_DOMAIN_NAME=Default + export OS_PROJECT_DOMAIN_NAME=Default OPTIONS =======