Merge "add note when using OS_AUTH_TYPE"

This commit is contained in:
Jenkins 2017-01-30 14:49:15 +00:00 committed by Gerrit Code Review
commit 32b62fbd12
1 changed files with 12 additions and 10 deletions

View File

@ -44,6 +44,12 @@ in your environment::
export GNOCCHI_PROJECT_ID=<yourprojectid>
export GNOCCHI_ENDPOINT=http://urlofgnocchi
.. note::
OS_AUTH_TYPE is used globally by all clients supporting Keystone. Provide
:option:`--os-auth-plugin` gnocchi-noauth to the client instead if other
clients are used in session.
Basic authentication
~~~~~~~~~~~~~~~~~~~~
@ -54,6 +60,12 @@ variables in your environment::
export GNOCCHI_USER=<youruserid>
export GNOCCHI_ENDPOINT=http://urlofgnocchi
.. note::
OS_AUTH_TYPE is used globally by all clients supporting Keystone. Provide
:option:`--os-auth-plugin` gnocchi-basic to the client instead if other
clients are used in session.
OpenStack Keystone authentication
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -75,16 +87,6 @@ variables::
export OS_AUTH_PLUGIN=token
export OS_AUTH_TOKEN=3bcc3d3a03f44e3d8377f9247b0ad155
Also, if the server doesn't support authentication, you can provide
:option:`--os-auth-plugin` gnocchi-noauth, :option:`--endpoint`,
:option:`--user-id` and :option:`--project-id`. You can alternatively set these
environment variables::
export OS_AUTH_PLUGIN=gnocchi-noauth
export GNOCCHI_ENDPOINT=http://gnocchi.example.org:8041
export GNOCCHI_USER_ID=99aae-4dc2-4fbc-b5b8-9688c470d9cc
export GNOCCHI_PROJECT_ID=c8d27445-48af-457c-8e0d-1de7103eae1f
Commands descriptions
+++++++++++++++++++++