Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [filter:tempauth]
- use = egg:swift#tempauth
- user_test_tester = testing .admin
- curl -X POST -i
- -H "X-Auth-Token: abcdeftoken"
- -H "X-Container-Read: .r:*"
- -H "X-Container-Write: .r:*"
- http://swift.example.com/v1/AUTH_testing/container
- [pipeline:main]
- ### no pass
- # pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk tempurl ratelimit copy container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server
- ### tempauth
- # pipeline = catch_errors gatekeeper healthcheck proxy-logging cache listing_formats container_sync bulk tempurl ratelimit tempauth copy container-quotas account-quotas slo dlo versioned_writes symlink proxy-logging proxy-server
- ### keystoneauth
- pipeline = catch_errors gatekeeper healthcheck proxy-logging cache container_sync bulk ratelimit authtoken keystoneauth container-quotas account-quotas slo dlo versioned_writes proxy-logging proxy-server
- [filter:keystoneauth]
- use = egg:swift#keystoneauth
- operator_roles = admin,user
- # https://docs.openstack.org/keystonemiddleware/latest/middlewarearchitecture.html
- [filter:authtoken]
- paste.filter_factory = keystonemiddleware.auth_token:filter_factory
- www_authenticate_uri = http://controller:5000/
- auth_url = http://controller:5000/
- memcached_servers = controller:11211
- auth_type = password
- project_domain_id = default
- user_domain_id = default
- project_name = service
- username = swift
- password = SWIFT_PASS # change this
- delay_auth_decision = True
- log_level = debug
- service_token_roles_required = True
- [filter:tempauth]
- use = egg:swift#tempauth
- user_admin_admin = admin .admin .reseller_admin
- user_test_tester = testing .admin
- user_test2_tester2 = testing2 .admin
- user_test_tester3 = testing3
- user_test5_tester5 = testing5 service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement