diff --git a/policies/api-policy.json b/policies/api-policy.json index afbcf2f..4075513 100644 --- a/policies/api-policy.json +++ b/policies/api-policy.json @@ -1,13 +1,20 @@ { "Version": "2012-10-17", "Statement": [ + { + "Effect": "Allow", + "Action": ["s3:ListAllMyBuckets"], + "Resource": "*" + }, { "Effect": "Allow", "Action": [ - "s3:GetObject", + "s3:HeadBucket", + "s3:ListBucket", "s3:PutObject", "s3:DeleteObject", - "s3:ListBucket" + "s3:GetBucketLocation", + "s3:GetObject" ], "Resource": [ "arn:aws:s3:::user-merch-images", @@ -16,4 +23,3 @@ } ] } -