1 Answer
- Newest
- Most votes
- Most comments
2
Though, I'm not sure, what is your exact use case for setting up this bucket policy but here is the correct format of same:
{
"Version": "2012-10-17",
"Statement": [
{ "Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::592@@#@$433:root"
]},
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::itse%$#%$ey",
"arn:aws:s3:::itse%$#%ney/*"
]
}
]
}
"*" was missing in your policy for Action and Resource.
For more details, please refer AWS Documentation Bucket policy examples.
Comment here if you have additional questions, happy to help.
Relevant content
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated 2 years ago
Were you able to fix the bucket policy?