Merge "Opt out of the service catalog"
This commit is contained in:
commit
b715fc7819
@ -102,6 +102,7 @@ add the configuration for the authtoken middleware::
|
|||||||
admin_user = swift
|
admin_user = swift
|
||||||
admin_password = password
|
admin_password = password
|
||||||
cache = swift.cache
|
cache = swift.cache
|
||||||
|
include_service_catalog = False
|
||||||
|
|
||||||
The actual values for these variables will need to be set depending on
|
The actual values for these variables will need to be set depending on
|
||||||
your situation. For more information, please refer to the Keystone
|
your situation. For more information, please refer to the Keystone
|
||||||
@ -114,6 +115,15 @@ documentation on the ``auth_token`` middleware, but in short:
|
|||||||
* The admin auth credentials (``admin_user``, ``admin_tenant_name``,
|
* The admin auth credentials (``admin_user``, ``admin_tenant_name``,
|
||||||
``admin_password``) will be used to retrieve an admin token. That
|
``admin_password``) will be used to retrieve an admin token. That
|
||||||
token will be used to authorize user tokens behind the scenes.
|
token will be used to authorize user tokens behind the scenes.
|
||||||
|
* cache is set to ``swift.cache``. This means that the middleware
|
||||||
|
will get the Swift memcache from the request environment.
|
||||||
|
* include_service_catalog defaults to True if not set. This means
|
||||||
|
that when validating a token, the service catalog is retrieved
|
||||||
|
and stored in the X-Service-Catalog header. Since Swift does not
|
||||||
|
use the X-Service-Catalog header, there is no point in getting
|
||||||
|
the service catalog. We recommend you set include_service_catalog
|
||||||
|
to False.
|
||||||
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
@ -270,6 +270,7 @@ user_test_tester3 = testing3
|
|||||||
# admin_password = password
|
# admin_password = password
|
||||||
# delay_auth_decision = 1
|
# delay_auth_decision = 1
|
||||||
# cache = swift.cache
|
# cache = swift.cache
|
||||||
|
# include_service_catalog = False
|
||||||
#
|
#
|
||||||
# [filter:keystoneauth]
|
# [filter:keystoneauth]
|
||||||
# use = egg:swift#keystoneauth
|
# use = egg:swift#keystoneauth
|
||||||
|
Loading…
Reference in New Issue
Block a user