I'm a root user, or I have power user access or administrator access across several AWS accounts. However, when I sign in to the Amazon Simple Storage Service (Amazon S3) console, I don't see all the buckets that I have access to. How can I access those buckets that aren't listed?
There's no way to list all the Amazon S3 buckets that you have access to across several AWS accounts. By default, the Amazon S3 console lists only the buckets that are owned by the account that you use to sign in. The console doesn't list buckets in other accounts, even if you have access to them.
Note: To access an individual bucket in another account, you must know the bucket name.
To access an individual bucket in another account using the Amazon S3 console, replace doc-examplebucket with the bucket name, like this:
Important: For the direct console link to work, you must have permissions to access the bucket using the console.
You can also access an individual bucket in another account using the AWS Command Line Interface (AWS CLI), AWS SDK, or Amazon S3 REST API.
Follow these steps to configure the AWS CLI to access an Amazon S3 bucket in another account:
1. Use the AWS Identity and Access Management (IAM) console to create access keys for the IAM user that has access to that account.
2. Install the AWS CLI.
3. Configure the AWS CLI using the access keys that you created.
After you configure the AWS CLI, you can run commands that send requests to the bucket. For example, run this command to copy an object from the bucket to your local machine:
aws s3 cp s3://doc-examplebucket/objectname/local/path
Note: If you receive errors when running AWS CLI commands, make sure that you’re using the most recent AWS CLI version.
Identity and Access Management in Amazon S3