media-storage/policies/api-policy.json

26 lines
486 B
JSON
Raw Permalink Normal View History

2025-10-15 19:48:57 +03:00
{
"Version": "2012-10-17",
"Statement": [
2025-10-17 23:45:37 +03:00
{
"Effect": "Allow",
"Action": ["s3:ListAllMyBuckets"],
"Resource": "*"
},
2025-10-15 19:48:57 +03:00
{
"Effect": "Allow",
"Action": [
2025-10-17 23:45:37 +03:00
"s3:HeadBucket",
"s3:ListBucket",
2025-10-15 19:48:57 +03:00
"s3:PutObject",
"s3:DeleteObject",
2025-10-17 23:45:37 +03:00
"s3:GetBucketLocation",
"s3:GetObject"
2025-10-15 19:48:57 +03:00
],
"Resource": [
"arn:aws:s3:::user-merch-images",
"arn:aws:s3:::user-merch-images/*"
]
}
]
}