s3tests.conf 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. [DEFAULT]
  2. ## this section is just used for host, port and bucket_prefix
  3. # host set for rgw in vstart.sh
  4. host = host.docker.internal
  5. # port set for rgw in vstart.sh
  6. port = 8333
  7. ## say "False" to disable TLS
  8. is_secure = False
  9. ## say "False" to disable SSL Verify
  10. ssl_verify = False
  11. [fixtures]
  12. ## all the buckets created will start with this prefix;
  13. ## {random} will be filled with random characters to pad
  14. ## the prefix to 30 characters long, and avoid collisions
  15. bucket prefix = yournamehere-{random}-
  16. [s3 main]
  17. # main display_name set in vstart.sh
  18. display_name = M. Tester
  19. # main user_idname set in vstart.sh
  20. user_id = testid
  21. # main email set in vstart.sh
  22. email = tester@ceph.com
  23. # zonegroup api_name for bucket location
  24. api_name = default
  25. ## main AWS access key
  26. access_key = 0555b35654ad1656d804
  27. ## main AWS secret key
  28. secret_key = h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q==
  29. ## replace with key id obtained when secret is created, or delete if KMS not tested
  30. #kms_keyid = 01234567-89ab-cdef-0123-456789abcdef
  31. [s3 alt]
  32. # alt display_name set in vstart.sh
  33. display_name = john.doe
  34. ## alt email set in vstart.sh
  35. email = john.doe@example.com
  36. # alt user_id set in vstart.sh
  37. user_id = 56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234
  38. # alt AWS access key set in vstart.sh
  39. access_key = NOPQRSTUVWXYZABCDEFG
  40. # alt AWS secret key set in vstart.sh
  41. secret_key = nopqrstuvwxyzabcdefghijklmnabcdefghijklm
  42. [s3 tenant]
  43. # tenant display_name set in vstart.sh
  44. display_name = testx$tenanteduser
  45. # tenant user_id set in vstart.sh
  46. user_id = 9876543210abcdef0123456789abcdef0123456789abcdef0123456789abcdef
  47. # tenant AWS secret key set in vstart.sh
  48. access_key = HIJKLMNOPQRSTUVWXYZA
  49. # tenant AWS secret key set in vstart.sh
  50. secret_key = opqrstuvwxyzabcdefghijklmnopqrstuvwxyzab
  51. # tenant email set in vstart.sh
  52. email = tenanteduser@example.com
  53. #following section needs to be added for all sts-tests
  54. [iam]
  55. #used for iam operations in sts-tests
  56. #email from vstart.sh
  57. email = s3@example.com
  58. #user_id from vstart.sh
  59. user_id = 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
  60. #access_key from vstart.sh
  61. access_key = ABCDEFGHIJKLMNOPQRST
  62. #secret_key vstart.sh
  63. secret_key = abcdefghijklmnopqrstuvwxyzabcdefghijklmn
  64. #display_name from vstart.sh
  65. display_name = youruseridhere
  66. #following section needs to be added when you want to run Assume Role With Webidentity test
  67. [webidentity]
  68. #used for assume role with web identity test in sts-tests
  69. #all parameters will be obtained from ceph/qa/tasks/keycloak.py
  70. token=<access_token>
  71. aud=<obtained after introspecting token>
  72. sub=<obtained after introspecting token>
  73. azp=<obtained after introspecting token>
  74. user_token=<access token for a user, with attribute Department=[Engineering, Marketing>]
  75. thumbprint=<obtained from x509 certificate>
  76. KC_REALM=<name of the realm>