read-only policy without listing all objects in bucket

This commit is contained in:
2026-02-27 02:20:06 +00:00
commit e35379f4d0

14
readonly-policy.json Normal file
View File

@@ -0,0 +1,14 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"AWS": ["*"]
},
"Action": ["s3:GetObject"],
"Resource": ["arn:aws:s3:::movies/*"]
}
]
}