Skip to content

Sample code for finding AWS Account ID of an S3 bucket.

License

Notifications You must be signed in to change notification settings

tracebit-com/find-s3-account

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

find-s3-account

Sample code to find the AWS account ID of an S3 bucket using the technique described in https://tracebit.com/blog/2024/02/finding-aws-account-id-of-any-s3-bucket/

See the blog post for the supporting infrastructure you'll need. This code expects to be able to assume a role "s3-find-account".

Do not run this code in anything other than a VPC that you've explicitly created for this purpose as it will break existing connectivity to S3 within the VPC in which you run it.

About

Sample code for finding AWS Account ID of an S3 bucket.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages