Set up credentials for the keystone clientYou can configure the
python-keystoneclient with admin
credentials with either an authentication token or a user name
and password.To configure the keystone client with an authentication
tokenExport your keystone endpoint to the
OS_SERVICE_ENDPOINT environment
variable:$export OS_SERVICE_ENDPOINT="<keystoneEndpoint>"Export the administrator service token to the
OS_SERVICE_TOKEN environment
variable:$export OS_SERVICE_TOKEN="<serviceToken>"Alternatively, you can specify these parameters
on any keystone client command:--os-endpoint
SERVICE_ENDPOINT.
An endpoint to use instead of the one in
the service catalog. Defaults to
env[OS_SERVICE_ENDPOINT].
--os-token
SERVICE_TOKEN.
An existing token to use instead of the
one generated by authentication. Defaults
to
env[OS_SERVICE_TOKEN].To configure the keystone client with a user name and
passwordExport the administrator user name to the
OS_USERNAME environment
variable:$export OS_USERNAME="<adminUserName>"Export the administrator password to the
OS_PASSWORD environment
variable:$export OS_PASSWORD="<adminPassword>"Export the tenant name to the
OS_TENANT_NAME environment
variable:$export OS_TENANT_NAME="<tenantName>"Export the URL of the keystone auth server, for
example http://localhost:5000/v2.0', to the
OS_AUTH_URL environment
variable:$export OS_AUTH_URL="<authServerURL>"Alternatively, you can specify these parameters
on any keystone client command:--os-username
OS_USERNAME.
Name used for authentication with the
Identity Service. Defaults to
env[OS_USERNAME].--os-password
OS_PASSWORD.
Password used for authentication with the
Identity Service. Defaults to
env[OS_PASSWORD].--os-tenant_name
OS_TENANT_NAME.
Tenant for which to request
authentication. Defaults to
env[OS_TENANT_NAME].--os-auth_url
OS_AUTH_URL.
The Identity Service endpoint to use for
authentication. Defaults to
env[OS_AUTH_URL].