Created
November 14, 2022 09:04
-
-
Save jmrobles/5248e7aa32c6507f5e808c31b6221ae7 to your computer and use it in GitHub Desktop.
AWS S3/Minio Bucket policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": ["*"] | |
}, | |
"Action": ["s3:GetBucketLocation", "s3:ListBucket"], | |
"Resource": ["arn:aws:s3:::mastodon"] | |
}, | |
{ | |
"Effect": "Allow", | |
"Principal": { | |
"AWS": ["*"] | |
}, | |
"Action": ["s3:GetObject"], | |
"Resource": ["arn:aws:s3:::mastodon/*"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment