[Quick] Handy AWS S3 Bucket Policies

Granting of Bucket Access to Another AWS Account

{
     "Version": "2012-10-17",
     "Statement": [
          {
         "Sid": "DelegateS3Access",
         "Effect": "Allow",
         "Principal": {
         "AWS": "arn:aws:iam::<account-id>:root"
       },
    "Action": [
                "s3:ListBucket",
                "s3:GetObject"
              ],
    "Resource": [
                "arn:aws:s3:::<bucket-name>/*",
                "arn:aws:s3:::<bucket-name>"
              ]
      }
 ]
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s