-
Notifications
You must be signed in to change notification settings - Fork 0
AWS
alex [dot] kramer [at] g_m_a_i_l [dot] com edited this page Nov 4, 2019
·
3 revisions
Give complete access for all objects in a bucket to another account
{
"Version": "2019-11-04",
"Statement": [
{
"Sid": "ListObjectsInBucket",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::[AWS IAM ID GOES HERE]:root"
},
"Action": ["s3:ListBucket"],
"Resource": ["arn:aws:s3:::[BUCKET NAME GOES HERE]"]
},
{
"Sid": "AllObjectActions",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::[AWS IAM ID GOES HERE]:root"
},
"Action": "s3:*Object",
"Resource": ["arn:aws:s3:::[BUCKET NAME GOES HERE]/*"]
}
]
}