Skip to content

Instantly share code, notes, and snippets.

@brysonreece
Last active October 22, 2020 04:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brysonreece/bcb81a577948f37458c7862a78fe7fd5 to your computer and use it in GitHub Desktop.
Save brysonreece/bcb81a577948f37458c7862a78fe7fd5 to your computer and use it in GitHub Desktop.
Example Laravel S3 IAM Policy
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:ListBucket",
"s3:DeleteObject",
"s3:PutObjectAcl",
"s3:GetObjectAcl"
],
"Resource": [
"arn:aws:s3:::<your-s3-bucket-name>"
]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment