Skip to content

Instantly share code, notes, and snippets.

@sandys
Created January 10, 2013 06:43
Show Gist options
  • Save sandys/4500011 to your computer and use it in GitHub Desktop.
Save sandys/4500011 to your computer and use it in GitHub Desktop.
Amazon IAM policies

create user for a specific S3 bucket

{ "Statement": [ { "Effect": "Allow", "Action": "s3:ListAllMyBuckets", "Resource": "arn:aws:s3:::" }, { "Effect": "Allow", "Action": "s3:", "Resource": [ "arn:aws:s3:::finance-bucket.aaa.com", "arn:aws:s3:::finance-bucket.aaa.com/*" ] } ] }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment