Files
mtusi2026lab7/security/rustfs/api-policy.json

26 lines
569 B
JSON

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "UploadAndCleanupStaging",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::messenger-attachments/staging/*"
},
{
"Sid": "ReadProcessedAttachments",
"Effect": "Allow",
"Action": [
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::messenger-attachments/originals/*",
"arn:aws:s3:::messenger-attachments/thumbnails/*"
]
}
]
}