Repository navigation
Document required IAM permissions for S3 storage driver. - #1590
Conversation
Signed-off-by: Richard Scothern <[email protected]>
|
Thank you, this looks good to me. |
| { | ||
| "Effect": "Allow", | ||
| "Action": [ | ||
| "s3:ListAllMyBuckets" |
There was a problem hiding this comment.
Agreed we should investigate.
There was a problem hiding this comment.
s3:ListAllMyBuckets is needed to view the objects in a console. I wonder if, in the original, contribution (#492) that the IAM was used by the registry and the user.
There was a problem hiding this comment.
I thought I had commented here earlier. I tested and it and I didn't get errors without it. However I do remember getting errors without it on prior versions of registry, so I would wait for a second opinion here.
There was a problem hiding this comment.
I will remove this - it does seem overly permissive and a couple of people have reported it's not required for aws-sdk
There was a problem hiding this comment.
I don't see any reason why ListAllMyBuckets would be needed with the current implementation. The same goes for GetBucketLocation, but everything else looks correct.
|
Thanks for this. This will be a huge help for users. |
Current coverage is
|
Signed-off-by: Richard Scothern <[email protected]>
|
LGTM |
Document required IAM permissions for S3 storage driver.
Closes #1391
Signed-off-by: Richard Scothern [email protected]