Cookbook
Cook
Setup Cross Account Permissions
description: access an s3 bucket from another account
legend
account A: account with s3 bucket that we will be enabling cross account permissions on
account B: account that will access bucket in account A
steps
in account A, setup cross account bucket policy in the bucket that account B will be given access to
{ "Version": "2012-10-17", "Statement": [ { "Sid": "Example permissions", "Effect": "Allow", "Principal": { "AWS": "arn:aws:iam::{AccountB-ID}:root" }, "Action": [ "s3:GetBucketLocation", "s3:ListBucket" ], "Resource": [ "arn:aws:s3:::{BUCKET_NAME}" ] } ] }
Perform a multi-part upload
req: jq
steps
setup config
execute multipart upload
Related
Last updated
Was this helpful?