diff --git a/docs/gateway/s3.md b/docs/gateway/s3.md index 98e06b172..7f04089f5 100644 --- a/docs/gateway/s3.md +++ b/docs/gateway/s3.md @@ -46,22 +46,27 @@ Minimum permissions required if you wish to provide restricted access with your "Version": "2012-10-17", "Statement": [ { - "Sid": "readonly", "Effect": "Allow", "Action": [ - "s3:GetObject" - ], - "Resource": "arn:aws:s3:::testbucket/*" + "s3:GetBucketLocation" + ], + "Resource": [ + "arn:aws:s3:::*" + ] }, { - "Sid": "readonly", "Effect": "Allow", "Action": [ - "s3:GetBucketPolicy", - "s3:HeadBucket", - "s3:ListBucket" + "s3:PutObject", + "s3:GetObject", + "s3:ListBucket", + "s3:DeleteObject", + "s3:HeadBucket" ], - "Resource": "arn:aws:s3:::testbucket" + "Resource": [ + "arn:aws:s3:::mybucket", + "arn:aws:s3:::mybucket/*" + ] } ] }