I want to copy the S3 bucket object to a different account, but the requirement can’t use the Bucket policy,
then is it possible to copy content from one bucket to another without using the bucket policy?
Question posted in Amazon Web Sevices
The official Amazon Web Services documentation can be found here.
The official Amazon Web Services documentation can be found here.
2
Answers
install AWS CLI, run AWS configure set source bucket credentials as default and, visit https://github.com/Shi191099/S3-Copy-old-data-without-Policy.git
You cannot use native S3 object replication between different accounts without using a bucket policy. As stated in the permissions documentation:
You could write a custom application that uses IAM roles to replicate objects, but this will likely be quite involved as you’ll need to track the state of the bucket and all of the objects written to it.