Files
python-cinderclient/doc/source/user/no_auth.rst
Matt Riedemann 85a3f0e30d Cleanup the home page
Good lord this thing needed some love. This change
does a few things:

* Remove the duplicate man page.
* Rename some titles to drop the CINDERCLIENT yelling -
  this is docs about cinderclient, I get it, no need to
  repeat in all caps.
* Fixed the sub-section title formatting in the home page.
* Dropped the duplicate usage guide wording and simply linked
  to the user docs from the home page.

Change-Id: I259787a40151e8c875ad87021f655a141e06b15e
2018-12-04 17:32:19 -05:00

880 B

Using noauth

Cinder Server side API setup

The changes in the cinder.conf on your cinder-api node are minimal, just set authstrategy to noauth:

[DEFAULT]
auth_strategy = noauth
...

Using cinderclient

To use the cinderclient you'll need to set the following env variables:

OS_AUTH_TYPE=noauth
CINDERCLIENT_BYPASS_URL=http://<cinder-api-url>:8776/v3
OS_PROJECT_ID=foo
OS_VOLUME_API_VERSION=3.10

Note that you can have multiple projects, however we don't currently do any sort of authentication of ownership because, well that's the whole point, it's noauth.

Each of these options can also be specified on the cmd line:

cinder --os-auth-type=noauth \
--bypass-url=http://<cinder-api-url>:8776/v3 \
--os-project-id=admin \
--os-volume-api-version=3.10 list