Created
December 30, 2020 18:26
-
-
Save siddolo/f101c139c8d4f0ce5828a45a58a6a3fc to your computer and use it in GitHub Desktop.
Minimum permission policy for Synology CloudSync s3 source backup job
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": "AllowSepcificBucket", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:Get*", | |
"s3:List*" | |
], | |
"Resource": [ | |
"arn:aws:s3:::bucketname", | |
"arn:aws:s3:::bucketname/*" | |
] | |
}, | |
{ | |
"Sid": "AllowAllBasics", | |
"Effect": "Allow", | |
"Action": [ | |
"s3:ListAllMyBuckets", | |
"s3:HeadBucket", | |
"s3:ListObjects", | |
"s3:GetBucket*" | |
], | |
"Resource": "arn:aws:s3:::*" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks,
To notice
into "AllowSpecificBucket" rule is also necessary for Hyper Backup.