Files
mtusi2026lab7/infra/rustfs-api-policy.json
T
koichakaev 65bbf3224a
Application HTTPS smoke / smoke (pull_request) Blocked by required conditions
Skeleton contracts / contracts (pull_request) Blocked by required conditions
Выполнить лабораторную 7 по безопасности мессенджера
2026-12-04 23:51:24 +03:00

9 lines
473 B
JSON

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