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

Last updated: 2020-03-27

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

Resolution

There's no way to list all the S3 buckets that you have access to across 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 won't list buckets in other accounts, even if you have access to them.

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 awsexamplebucket with the bucket name in the following Amazon S3 console link:

https://s3.console.aws.amazon.com/s3/buckets/awsexamplebucket/

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), an AWS SDK, or the Amazon S3 REST API. Follow these steps to configure the AWS CLI to access a 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://awsexamplebucket/objectname    /local/path

Did this article help you?

Anything we could improve?


Need more help?