Advertisement
Guest User

Untitled

a guest
Jun 14th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. [filter:tempauth]
  2. use = egg:swift#tempauth
  3. user_test_tester = testing .admin
  4.  
  5. curl -X POST -i
  6. -H "X-Auth-Token: abcdeftoken"
  7. -H "X-Container-Read: .r:*"
  8. -H "X-Container-Write: .r:*"
  9. http://swift.example.com/v1/AUTH_testing/container
  10.  
  11. [pipeline:main]
  12. ### no pass
  13. # 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
  14.  
  15. ### tempauth
  16. # 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
  17.  
  18. ### keystoneauth
  19. 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
  20.  
  21.  
  22. [filter:keystoneauth]
  23. use = egg:swift#keystoneauth
  24. operator_roles = admin,user
  25.  
  26. # https://docs.openstack.org/keystonemiddleware/latest/middlewarearchitecture.html
  27. [filter:authtoken]
  28. paste.filter_factory = keystonemiddleware.auth_token:filter_factory
  29. www_authenticate_uri = http://controller:5000/
  30. auth_url = http://controller:5000/
  31. memcached_servers = controller:11211
  32. auth_type = password
  33. project_domain_id = default
  34. user_domain_id = default
  35. project_name = service
  36. username = swift
  37. password = SWIFT_PASS # change this
  38. delay_auth_decision = True
  39. log_level = debug
  40. service_token_roles_required = True
  41.  
  42. [filter:tempauth]
  43. use = egg:swift#tempauth
  44. user_admin_admin = admin .admin .reseller_admin
  45. user_test_tester = testing .admin
  46. user_test2_tester2 = testing2 .admin
  47. user_test_tester3 = testing3
  48. user_test5_tester5 = testing5 service
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement