Skip to content

Instantly share code, notes, and snippets.

@jcataluna
Created June 21, 2015 16:44
Show Gist options
  • Save jcataluna/014487b2515bfd99be41 to your computer and use it in GitHub Desktop.
Save jcataluna/014487b2515bfd99be41 to your computer and use it in GitHub Desktop.
s3 policy to give access to console and bucket
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1434903547000",
"Effect": "Allow",
"Action": [
"s3:List*",
"s3:Get*"
],
"Resource": [
"arn:aws:s3:::jcataluna.ydns.eu"
]
},
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:ListAllMyBuckets"
],
"Resource": "arn:aws:s3:::*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment