AWS Certified Solutions Architect - Associate (SAA-C02)

Sign Up Free or Log In to participate!

How to check which all buckets are public?

How do we check which all buckets are Public using cli or sdk ? What is best approach to list public buckets ?

1 Answers

use this JSON and it will works: "arn" the copy paste from ur bucket

{

"Version": "2012-10-17",

"Statement": [

{

"Sid": "PublicReadGetObject",

"Effect": "Allow",

"Principal": "*",

"Action": "s3:GetObject",

"Resource": "[arn]/*"

}

]

}

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?