Skip to content

Instantly share code, notes, and snippets.

@ajbrown
Created March 14, 2016 15:28
Show Gist options
  • Save ajbrown/8aea5189d8e84046a4f2 to your computer and use it in GitHub Desktop.
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.
{
"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