Created
July 21, 2017 19:25
-
-
Save phumpal/15d30573808dbd318f66a2f50fab0265 to your computer and use it in GitHub Desktop.
wal-e encrypted PostgreSQL backups s3 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": [ | |
{ | |
"Sid": "S3PostgreSQLWALeBackups", | |
"Action": [ | |
"s3:AbortMultipartUpload", | |
"s3:DeleteObject", | |
"s3:DeleteObjectVersion", | |
"s3:GetObject", | |
"s3:GetObjectAcl", | |
"s3:GetObjectTagging", | |
"s3:GetObjectVersion", | |
"s3:GetObjectVersionAcl", | |
"s3:GetObjectVersionTagging", | |
"s3:PutObject", | |
"s3:PutObjectAcl", | |
"s3:PutObjectTagging", | |
"s3:PutObjectVersionAcl", | |
"s3:PutObjectVersionTagging" | |
], | |
"Effect": "Allow", | |
"Resource": "arn:aws:s3:::<S3 BUCKET NAME>/*", | |
"Principal": { | |
"AWS": [ | |
"arn:aws:iam::<IAM USERS ID>:user/<IAM USER>" | |
] | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment