Skip to content

Commit

Permalink
fixed incorrect minio example policy (#1571)
Browse files Browse the repository at this point in the history
* fixed policy for minio mastodon bucket

* fixed example to fit instructions
  • Loading branch information
Fjox authored Dec 16, 2024
1 parent afe3b8f commit d7d9378
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions content/en/admin/optional/object-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/*"
]
}
]
}
```

Expand Down

0 comments on commit d7d9378

Please sign in to comment.