Remove the kesytone admin token from swift
The keystone admin token supposed to be used only for setting up keystone and it should not be used in any other service config. Change-Id: Iaa9be1878e89a6bc3a84a0c57fc6f5cecc371d2f
This commit is contained in:
parent
81dcb64b0d
commit
fbb3e773f0
@ -441,16 +441,15 @@ function configure_swift {
|
||||
|
||||
if is_service_enabled swift3; then
|
||||
cat <<EOF >>${SWIFT_CONFIG_PROXY_SERVER}
|
||||
# NOTE(chmou): s3token middleware is not updated yet to use only
|
||||
# username and password.
|
||||
[filter:s3token]
|
||||
paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory
|
||||
auth_port = ${KEYSTONE_AUTH_PORT}
|
||||
auth_host = ${KEYSTONE_AUTH_HOST}
|
||||
auth_protocol = ${KEYSTONE_AUTH_PROTOCOL}
|
||||
cafile = ${SSL_BUNDLE_FILE}
|
||||
auth_token = ${SERVICE_TOKEN}
|
||||
admin_token = ${SERVICE_TOKEN}
|
||||
admin_user = swift
|
||||
admin_tenant_name = ${SERVICE_TENANT_NAME}
|
||||
admin_password = ${SERVICE_PASSWORD}
|
||||
|
||||
[filter:swift3]
|
||||
use = egg:swift3#swift3
|
||||
|
Loading…
Reference in New Issue
Block a user