Skip to content

Instantly share code, notes, and snippets.

@paulodutra
Created January 30, 2020 19:48
Show Gist options
  • Save paulodutra/7f405c7a65215f4f2ccc7bb574473849 to your computer and use it in GitHub Desktop.
Save paulodutra/7f405c7a65215f4f2ccc7bb574473849 to your computer and use it in GitHub Desktop.
politicas do bucket para permitir o get de arquivos AWS s3 sem informar o X-Amz-Security-Token
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AddPerm",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::nome-do-bucket/*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment