Why doesn't the Amazon S3 console show all the buckets that I have access to as a root user, power user, or administrator with cross-account access?

2 minute read
0

I'm a root user, or I have power user or administrator access across multiple 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.

Resolution

By default, the Amazon S3 console lists only the buckets that you own from the account that you sign in with. 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 a bucket in another account from the Amazon S3 console, use this URL. Replace doc-examplebucket with your bucket name:

https://s3.console.aws.amazon.com/s3/buckets/doc-examplebucket/

Important: For the direct console link to work, you must have permissions to access the bucket from the console.

You can also use the AWS Command Line Interface (AWS CLI), AWS SDK, or Amazon S3 REST API to access a bucket in another account.

To configure the AWS CLI to access an Amazon S3 bucket in another account, follow these steps:

Note: If you receive errors when you run AWS CLI commands, see Troubleshoot AWS CLI errors. Also, make sure that you're using the most recent AWS CLI version.

  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 with the access keys.

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

Related information

Identity and Access Management in Amazon S3

AWS OFFICIAL
AWS OFFICIALUpdated 8 months ago