Update auth_uri option to www_authenticate_uri

Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.

[1]https://review.openstack.org/#/c/508522/

Change-Id: I7897412e22d91c6ab786652ff95ca44f7d10dedc
This commit is contained in:
melissaml 2018-04-17 04:13:32 +08:00
parent 97a448da3e
commit 407e2cc5ed

View File

@ -58,7 +58,7 @@ use = egg:swift#tempauth
paste.filter_factory = keystonemiddleware.auth_token:filter_factory
auth_type = {{ swift_keystone_auth_plugin }}
auth_url = {{ keystone_service_adminuri }}
auth_uri = {{ keystone_service_internaluri }}
www_authenticate_uri = {{ keystone_service_internaluri }}
insecure = {{ keystone_service_adminuri_insecure | bool }}
region_name = {{ keystone_service_region }}
project_domain_id = {{ swift_service_project_domain_id }}
@ -116,7 +116,7 @@ storage_domain = {{ swift_swift3_storage_domain }}
{% if 's3token' in swift_middleware_list %}
[filter:s3token]
use = egg:swift3#s3token
auth_uri = {{ keystone_service_adminuri }}
www_authenticate_uri = {{ keystone_service_adminuri }}
{% endif %}
[filter:healthcheck]