Is it possible to list all the AWS S3 buckets I have access to?
amazon-s3, amazon-web-services
Solution
You can list all the S3 buckets under your account using the AWS CLI.
Documentation can be found here: list-buckets - AWS
Here is the command I use (no-verify-ssl optional, of course): `aws --no-verify-ssl s3api list-buckets`
This lists all the S3 buckets for the account which I am accessing using the credentials.
Problem
Is it possible to list all the AWS S3 buckets a user has access to? If so, I wouldn't have to set up a separate registry for which user can access which. I can reliably detect which buckets are of interest to my app.