1 個回答
- 最新
- 最多得票
- 最多評論
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.
相關內容
- 已提問 7 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 4 年前
- AWS 官方已更新 3 年前
Were you able to fix the bucket policy?