Fix docs cli authorize environment variables
OpenStack is deprecating 'tenant'. So use 'project' instead of 'tenant' Change-Id: I1dc4dbbbe1eb1d01b0750eaf7994956eb657c7a6
This commit is contained in:
		| @@ -23,12 +23,12 @@ Service (Glance). | |||||||
|  |  | ||||||
| In order to use the CLI, you must provide your OpenStack username, password, | In order to use the CLI, you must provide your OpenStack username, password, | ||||||
| project (historically called tenant), and auth endpoint. You can use | 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:: | and ``--os-auth-url`` or set corresponding environment variables:: | ||||||
|  |  | ||||||
|     export OS_USERNAME=user |     export OS_USERNAME=user | ||||||
|     export OS_PASSWORD=pass |     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 |     export OS_AUTH_URL=http://auth.example.com:5000/v2.0 | ||||||
|  |  | ||||||
| The command line tool will attempt to reauthenticate using provided credentials | The command line tool will attempt to reauthenticate using provided credentials | ||||||
|   | |||||||
| @@ -5,12 +5,12 @@ | |||||||
| In order to use the CLI, you must provide your OpenStack username, | In order to use the CLI, you must provide your OpenStack username, | ||||||
| password, tenant, and auth endpoint. Use the corresponding | password, tenant, and auth endpoint. Use the corresponding | ||||||
| configuration options (``--os-username``, ``--os-password``, | 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:: | variables:: | ||||||
|  |  | ||||||
|     export OS_USERNAME=user |     export OS_USERNAME=user | ||||||
|     export OS_PASSWORD=pass |     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 |     export OS_AUTH_URL=http://auth.example.com:5000/v2.0 | ||||||
|  |  | ||||||
| The command line tool will attempt to reauthenticate using your | The command line tool will attempt to reauthenticate using your | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 caishan
					caishan