Skip to content

Commit a4ea3c9

Browse files
author
Damien Clabaut
committed
Document minimal policy required to be attached to S3User to prevent an infinite loop
1 parent 7b17cfe commit a4ea3c9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,22 @@ spec:
205205
# Content of the policy, as a multiline string
206206
# This should be IAM compliant JSON - follow the guidelines of the actual
207207
# S3 provider you're using, as sometimes only a subset is available.
208+
# The first Statement (Allow ListBucket) should be applied to every user,
209+
# as s3-operator uses this call to verify that credentials are valid when
210+
# reconciling an existing user.
208211
policyContent: >-
209212
{
210213
"Version": "2012-10-17",
211214
"Statement": [
215+
{
216+
"Effect": "Allow",
217+
"Action": [
218+
"s3:ListBucket"
219+
],
220+
"Resource": [
221+
"arn:aws:s3:::*"
222+
]
223+
},
212224
{
213225
"Effect": "Allow",
214226
"Action": [

0 commit comments

Comments
 (0)