@@ -19,6 +19,14 @@ ssl_verify = False
19
19
## the prefix to 30 characters long, and avoid collisions
20
20
bucket prefix = ceph-{random}-
21
21
22
+ # all the iam account resources (users, roles, etc) created
23
+ # will start with this name prefix
24
+ iam name prefix = s3-tests-
25
+
26
+ # all the iam account resources (users, roles, etc) created
27
+ # will start with this path prefix
28
+ iam path prefix = /s3-tests/
29
+
22
30
[s3 main]
23
31
## the tests assume two accounts are defined, "main" and "alt".
24
32
email = main.alt@noobaa.com
@@ -51,9 +59,47 @@ secret_key = tenant_secret_key
51
59
# tenant email set in vstart.sh
52
60
email = ceph.tenant@noobaa.com
53
61
62
+ # tenant name
63
+ tenant = testx
64
+
54
65
[s3 alt]
55
66
## another user account, used for ACL-related tests
56
67
user_id = 56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234
57
68
display_name = cephalt
58
69
## the "alt" user needs to have email set, too
59
70
email = ceph.alt@noobaa.com
71
+ ## replace these with your access keys
72
+ access_key = s3_access_key
73
+ secret_key = s3_secret_key
74
+
75
+ #following section needs to be added for all sts-tests
76
+ [iam]
77
+ #used for iam operations in sts-tests
78
+ #email from vstart.sh
79
+ email = ceph.alt@noobaa.com
80
+
81
+ #user_id from vstart.sh
82
+ user_id = 56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234
83
+
84
+ #access_key from vstart.sh
85
+ access_key = tenant_access_key
86
+
87
+ #secret_key vstart.sh
88
+ secret_key = tenant_secret_key
89
+
90
+ #display_name from vstart.sh
91
+ display_name = cephalt
92
+
93
+ # iam account root user for iam_account tests
94
+ [iam root]
95
+ access_key = tenant_access_key
96
+ secret_key = tenant_secret_key
97
+ user_id = 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
98
+ email = main.alt@noobaa.com
99
+
100
+ # iam account root user in a different account than [iam root]
101
+ [iam alt root]
102
+ access_key = tenant_access_key
103
+ secret_key = tenant_secret_key
104
+ user_id = 56789abcdef0123456789abcdef0123456789abcdef0123456789abcdef01234
105
+ email = ceph.alt@noobaa.com
0 commit comments