首页 > 解决方案 > OpenStack Swift proxy-server.conf 已经有 [filter:authtoken] 部分

问题描述

我正在尝试将 swift 与梯形验证一起使用。我按照这个链接https://docs.openstack.org/swift/latest/overview_auth.html#keystone-auth来编辑我的 proxy-server.conf 但我注意到在文件的底部 [filter:authtoken] 已经在那里,虽然在评论部分我可以取消注释一个与 [filter:authtoken] 同名的部分,现在底部看起来像这样:

[filter:authtoken]
include_service_catalog = False
cache = swift.cache
delay_auth_decision = 1
memcached_servers = localhost:11211
cafile = /opt/stack/data/ca-bundle.pem
project_domain_name = Default
project_name = service
user_domain_name = Default
password = 1234
username = swift
auth_url = http://10.180.204.223/identity
interface = public
auth_type = password

我该怎么办?我应该保留它,根据链接修改它,还是应该取消注释该部分并根据链接添加代码?

标签: swiftopenstackdevstackkeystone

解决方案


推荐阅读