Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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.
{
"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