Skip to content

Instantly share code, notes, and snippets.

@rameerez
Created February 23, 2023 20:04
Show Gist options
  • Save rameerez/987b5dfaf595150da61f4f63ee3a7a94 to your computer and use it in GitHub Desktop.
Save rameerez/987b5dfaf595150da61f4f63ee3a7a94 to your computer and use it in GitHub Desktop.
AWS IAM policy for a Listmonk user to access only one S3 bucket
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:GetObject",
"s3:PutBucketPublicAccessBlock",
"s3:PutObjectVersionAcl",
"s3:PutBucketAcl",
"s3:PutBucketPolicy",
"s3:PutObjectAcl",
"s3:ReplicateObject",
"s3:DeleteObjectVersion",
"s3:RestoreObject",
"s3:DeleteObject"
],
"Resource": [
"arn:aws:s3:::listmonk-bucket",
"arn:aws:s3:::listmonk-bucket/*"
]
}
]
}
@rameerez
Copy link
Author

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