Created
March 14, 2016 15:28
-
-
Save ajbrown/8aea5189d8e84046a4f2 to your computer and use it in GitHub Desktop.
BackWPup S3 permissions. This includes the minimum permissions needed to allow the Wordpress BackWPup plugin to complete a backup job with an Amazon S3 destination.
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": [ | |
{ | |
"Sid": "Stmt1457967512000", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListAllMyBuckets" | |
], | |
"Resource": [ | |
"*" | |
] | |
}, | |
{ | |
"Effect": "Allow", | |
"Action": [ | |
"s3:GetBucketLocation", | |
"s3:ListBucketMultipartUploads", | |
"s3:ListBucket" | |
], | |
"Resource": [ | |
"arn:aws:s3:::<BACKUP_BUCKET>" | |
] | |
}, | |
{ | |
"Sid": "Stmt1457967512001", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:PutObject", | |
"s3:ListMultipartUploadParts", | |
"s3:Get*", | |
"s3:AbortMultipartUpload" | |
], | |
"Resource": [ | |
"arn:aws:s3:::<BACKUP_BUCKET>/<BACKUP_PATH>*", | |
"arn:aws:s3:::<BACKUP_BUCKET>/<BACKUP_PATH>/*" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment