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 Up Free or Log In to participate!
How do we check which all buckets are Public using cli or sdk ? What is best approach to list public buckets ?
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]/*"
}
]
}
Psst…this one if you’ve been moved to ACG!