-
-
Save ccabanero/8040623 to your computer and use it in GitHub Desktop.
AWS - S3 bucket policy - allow user to use AWS console to view S3 buckets and have read and write permission on a single specified bucket
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Use Identity and Access Manager (IAM) in the AWS console. | |
2. Create a group or user. Create a password so that the user can use it to authenticate your organization's AWS console. | |
3. Go to the group's (or user's) profile. Go to Permissions. Add the following policy. | |
{ | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Action": "s3:ListAllMyBuckets", | |
"Resource": "arn:aws:s3:::*" | |
}, | |
{ | |
"Action": "s3:*", | |
"Effect": "Allow", | |
"Resource": [ | |
"arn:aws:s3:::mybucketname", | |
"arn:aws:s3:::mybucketname/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment