Files
mtusi2026lab7/infrastructure/minio/api-policy.template.json
2026-11-22 23:33:11 +03:00

21 lines
454 B
JSON

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