You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
3.2 KiB

  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. ## NOTE: if running docker --net=host (e.x. `DOCKER_NET_HOST=y ./run.sh`)
  6. ## then use 'localhost', so the container can more easily access your *local* weed instance
  7. ##
  8. ## This is *unsafe* -- it is possible that this script will do malicious
  9. ## things with host-level access. only run this if you trust the programmatic content of
  10. ## ceph/s3-tests (https://github.com/ceph/s3-tests) which will be using this file
  11. #host = localhost
  12. # port set for rgw in vstart.sh
  13. port = 8333
  14. ## say "False" to disable TLS
  15. is_secure = False
  16. ## say "False" to disable SSL Verify
  17. ssl_verify = False
  18. [fixtures]
  19. ## all the buckets created will start with this prefix;
  20. ## {random} will be filled with random characters to pad
  21. ## the prefix to 30 characters long, and avoid collisions
  22. bucket prefix = yournamehere-{random}-
  23. [s3 main]
  24. # main display_name set in vstart.sh
  25. display_name = M. Tester
  26. # main user_idname set in vstart.sh
  27. user_id = testid
  28. # main email set in vstart.sh
  29. email = tester@ceph.com
  30. # zonegroup api_name for bucket location
  31. api_name = default
  32. ## main AWS access key
  33. access_key = 0555b35654ad1656d804
  34. ## main AWS secret key
  35. secret_key = h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q==
  36. ## replace with key id obtained when secret is created, or delete if KMS not tested
  37. #kms_keyid = 01234567-89ab-cdef-0123-456789abcdef
  38. [s3 alt]
  39. # alt display_name set in vstart.sh
  40. display_name = john.doe
  41. ## alt email set in vstart.sh
  42. email = john.doe@example.com
  43. # alt user_id set in vstart.sh
  44. user_id = 56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234
  45. # alt AWS access key set in vstart.sh
  46. access_key = NOPQRSTUVWXYZABCDEFG
  47. # alt AWS secret key set in vstart.sh
  48. secret_key = nopqrstuvwxyzabcdefghijklmnabcdefghijklm
  49. [s3 tenant]
  50. # tenant display_name set in vstart.sh
  51. display_name = testx$tenanteduser
  52. # tenant user_id set in vstart.sh
  53. user_id = 9876543210abcdef0123456789abcdef0123456789abcdef0123456789abcdef
  54. # tenant AWS secret key set in vstart.sh
  55. access_key = HIJKLMNOPQRSTUVWXYZA
  56. # tenant AWS secret key set in vstart.sh
  57. secret_key = opqrstuvwxyzabcdefghijklmnopqrstuvwxyzab
  58. # tenant email set in vstart.sh
  59. email = tenanteduser@example.com
  60. #following section needs to be added for all sts-tests
  61. [iam]
  62. #used for iam operations in sts-tests
  63. #email from vstart.sh
  64. email = s3@example.com
  65. #user_id from vstart.sh
  66. user_id = 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
  67. #access_key from vstart.sh
  68. access_key = ABCDEFGHIJKLMNOPQRST
  69. #secret_key vstart.sh
  70. secret_key = abcdefghijklmnopqrstuvwxyzabcdefghijklmn
  71. #display_name from vstart.sh
  72. display_name = youruseridhere
  73. #following section needs to be added when you want to run Assume Role With Webidentity test
  74. [webidentity]
  75. #used for assume role with web identity test in sts-tests
  76. #all parameters will be obtained from ceph/qa/tasks/keycloak.py
  77. token=<access_token>
  78. aud=<obtained after introspecting token>
  79. sub=<obtained after introspecting token>
  80. azp=<obtained after introspecting token>
  81. user_token=<access token for a user, with attribute Department=[Engineering, Marketing>]
  82. thumbprint=<obtained from x509 certificate>
  83. KC_REALM=<name of the realm>