Skip to content

Instantly share code, notes, and snippets.

@H4ad
Created January 14, 2021 18:45
Show Gist options
  • Save H4ad/225ac93de8158a28056ce1194d3fd1a6 to your computer and use it in GitHub Desktop.
Save H4ad/225ac93de8158a28056ce1194d3fd1a6 to your computer and use it in GitHub Desktop.
S3 Upload IAM Policy - Minimal Permissions to Upload File with Presigned Post URL
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"s3:PutObject",
"s3:AbortMultipartUpload",
"s3:PutObjectLegalHold"
],
"Resource": "arn:aws:s3:::YOUR_BUCKET_ARN/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment