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:
parent
afe3b8f3f0
commit
d7d937847a
@ -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):
|
||||
```json
|
||||
{
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Effect": "Allow",
|
||||
"Principal": {
|
||||
"AWS": "*"
|
||||
},
|
||||
"Action": "s3:GetObject",
|
||||
"Resource": "arn:aws:s3:::mastodata/*"
|
||||
}
|
||||
]
|
||||
"Version": "2012-10-17",
|
||||
"Statement": [
|
||||
{
|
||||
"Effect": "Allow",
|
||||
"Principal": {
|
||||
"AWS": [
|
||||
"*"
|
||||
]
|
||||
},
|
||||
"Action": [
|
||||
"s3:GetObject"
|
||||
],
|
||||
"Resource": [
|
||||
"arn:aws:s3:::mastodata/*"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user