Skip to content

Instantly share code, notes, and snippets.

@sebastian13
Created February 4, 2019 12:14
Show Gist options
  • Save sebastian13/549dd6e870726b7df40826e2993fab23 to your computer and use it in GitHub Desktop.
Save sebastian13/549dd6e870726b7df40826e2993fab23 to your computer and use it in GitHub Desktop.
This is a working IAM Policy for the wordpress plugin BackWPup to use with minio s3 storage.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "",
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets"
],
"Resource": [
"arn:aws:s3:::*"
]
},
{
"Effect": "Allow",
"Action": [
"s3:GetBucketLocation",
"s3:ListBucketMultipartUploads",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::<bucket>"
]
},
{
"Sid": "",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:ListMultipartUploadParts",
"s3:AbortMultipartUpload",
"s3:GetObject"
],
"Resource": [
"arn:aws:s3:::<bucket>/*"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment