1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

fixed incorrect minio example policy (#1571)

* fixed policy for minio mastodon bucket

* fixed example to fit instructions
This commit is contained in:
FuchsFuchs1 2024-12-16 08:34:41 +01:00 committed by GitHub
parent afe3b8f3f0
commit d7d937847a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -201,17 +201,23 @@ You need to set a policy for anonymous access that allows read-only access to ob
To do this, you need to set a custom policy (replace `mastodata` with the actual name of your S3 bucket): To do this, you need to set a custom policy (replace `mastodata` with the actual name of your S3 bucket):
```json ```json
{ {
"Version": "2012-10-17", "Version": "2012-10-17",
"Statement": [ "Statement": [
{ {
"Effect": "Allow", "Effect": "Allow",
"Principal": { "Principal": {
"AWS": "*" "AWS": [
}, "*"
"Action": "s3:GetObject", ]
"Resource": "arn:aws:s3:::mastodata/*" },
} "Action": [
] "s3:GetObject"
],
"Resource": [
"arn:aws:s3:::mastodata/*"
]
}
]
} }
``` ```