Files
python-cinderclient/doc/source/user/no_auth.rst
chenxing a3f9f4f16d Rearrange existing documentation to fit the new standard layout
The layout is configured to follow the design from this spec:

https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

This change is necessary to continue the doc migration process.

Change-Id: I5ab2e47b67baf90bdd808cb831493a010d23a070
2017-07-26 21:54:59 -05:00

33 lines
919 B
ReStructuredText

=========================
CINDERCLIENT 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