Skip to content

Instantly share code, notes, and snippets.

@elskwid
Forked from phlipper/monosnap-s3-iam-policy.json
Last active August 29, 2015 14:07
Show Gist options
  • Select an option

  • Save elskwid/bba4e290fb0d11da5e82 to your computer and use it in GitHub Desktop.

Select an option

Save elskwid/bba4e290fb0d11da5e82 to your computer and use it in GitHub Desktop.

Revisions

  1. @phlipper phlipper created this gist Oct 5, 2014.
    43 changes: 43 additions & 0 deletions monosnap-s3-iam-policy.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,43 @@
    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Sid": "AllowGroupToSeeBucketListInTheConsole",
    "Action": [
    "s3:ListAllMyBuckets",
    "s3:GetBucketLocation"
    ],
    "Effect": "Allow",
    "Resource": [
    "arn:aws:s3:::*"
    ]
    },
    {
    "Sid": "AllowRootLevelListingOfTheBucket",
    "Action": [
    "s3:ListBucket"
    ],
    "Effect": "Allow",
    "Resource": [
    "arn:aws:s3:::my-monosnap-s3-bucket"
    ]
    },
    {
    "Sid": "Stmt1410750108000",
    "Effect": "Allow",
    "Action": [
    "s3:GetObjectAcl",
    "s3:GetObject",
    "s3:GetObjectVersionAcl",
    "s3:GetObjectVersion",
    "s3:ListBucket",
    "s3:PutObjectAcl",
    "s3:PutObject",
    "s3:PutObjectVersionAcl"
    ],
    "Resource": [
    "arn:aws:s3:::my-monosnap-s3-bucket/*"
    ]
    }
    ]
    }