From 6c32b7b4928b8032da2c807b3b0c92bf0943ed47 Mon Sep 17 00:00:00 2001 From: gord chung Date: Wed, 25 Jan 2017 19:46:22 +0000 Subject: [PATCH] add note when using OS_AUTH_TYPE OS_AUTH_TYPE is shared globally by clients so add a note to make users aware Change-Id: I1a208077777730ba0c74a3e047199ac29f8aed47 --- doc/source/shell.rst | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/doc/source/shell.rst b/doc/source/shell.rst index ec1625b..be1f714 100644 --- a/doc/source/shell.rst +++ b/doc/source/shell.rst @@ -44,6 +44,12 @@ in your environment:: export GNOCCHI_PROJECT_ID= 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= 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 +++++++++++++++++++++