Skip to content

Instantly share code, notes, and snippets.

@anamorph
Created September 22, 2015 09:29
Show Gist options
  • Save anamorph/0bc312bc4d729ab414d9 to your computer and use it in GitHub Desktop.
Save anamorph/0bc312bc4d729ab414d9 to your computer and use it in GitHub Desktop.
HOWTO Lightroom sync with s3 windows/macos - Lightroom Policy
{
"Id": "Policy1442860910448",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1442860826662",
"Action": [
"s3:ListBucket"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::my-lightroom-bucket",
"Condition": {
"IpAddress": {
"aws:SourceIp": "123.123.123.123/32"
}
},
"Principal": {
"AWS": [
"arn:aws:iam::MYACCOUNTID:user/s3sync-pc"
]
}
},
{
"Sid": "Stmt1442860864410",
"Action": [
"s3:GetObject",
"s3:GetObjectAcl"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::my-lightroom-bucket/*",
"Condition": {
"IpAddress": {
"aws:SourceIp": "123.123.123.123/32"
}
},
"Principal": {
"AWS": [
"arn:aws:iam::MYACCOUNTID:user/s3sync-pc"
]
}
},
{
"Sid": "Stmt1442860885410",
"Action": [
"s3:ListBucket"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::my-lightroom-bucket",
"Principal": {
"AWS": [
"arn:aws:iam::MYACCOUNTID:user/s3sync-mac"
]
}
},
{
"Sid": "Stmt1442860908897",
"Action": [
"s3:PutObject",
"s3:PutObjectAcl"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::my-lightroom-bucket/*",
"Principal": {
"AWS": [
"arn:aws:iam::MYACCOUNTID:user/s3sync-mac"
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment