Skip to content

Instantly share code, notes, and snippets.

@Grendel7
Created April 23, 2018 17:01
Show Gist options
  • Save Grendel7/e962f0ee838307e7c6046c75c214629f to your computer and use it in GitHub Desktop.
Save Grendel7/e962f0ee838307e7c6046c75c214629f to your computer and use it in GitHub Desktop.
AWS S3 permissions template for full access to a single bucket
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation",
"s3:ListBucketMultipartUploads"
],
"Resource": "arn:aws:s3:::BUCKETNAME",
"Condition": {}
},
{
"Effect": "Allow",
"Action": [
"s3:AbortMultipartUpload",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:GetObjectVersion",
"s3:GetObjectVersionAcl"
],
"Resource": "arn:aws:s3:::BUCKETNAME/*",
"Condition": {}
},
{
"Effect": "Allow",
"Action": "s3:ListAllMyBuckets",
"Resource": "*",
"Condition": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment