Files
mtusi2026lab7/infra/minio/api-policy.json

19 lines
422 B
JSON

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": ["s3:ListBucket", "s3:GetBucketLocation"],
"Resource": ["arn:aws:s3:::__BUCKET__"]
},
{
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"],
"Resource": [
"arn:aws:s3:::__BUCKET__/attachments/*",
"arn:aws:s3:::__BUCKET__/staging/*"
]
}
]
}