Skip to content

Instantly share code, notes, and snippets.

@siddolo
Created December 30, 2020 18:26
Show Gist options
  • Save siddolo/f101c139c8d4f0ce5828a45a58a6a3fc to your computer and use it in GitHub Desktop.
Save siddolo/f101c139c8d4f0ce5828a45a58a6a3fc to your computer and use it in GitHub Desktop.
Minimum permission policy for Synology CloudSync s3 source backup job
{
"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:::*"
}
]
}
@omegion
Copy link

omegion commented Jun 29, 2023

Thanks, this saved me time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment