We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An optional flag for attaching bucket policies to the new s3 bucket. These are just like IAM user policies, but attached to the bucket itself.
Originally posted by @zacaytion in #7 (comment)
I need to research bucket policies to fully understand what kinds of things they are useful for and how they should be supported by this tool.
The text was updated successfully, but these errors were encountered:
The examples in the documentation are useful for understanding what these can do: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html#example-bucket-policies-use-case-2
This example in particular looks useful:
The following example policy grants the s3:GetObject permission to any public anonymous users
{ "Version":"2012-10-17", "Statement":[ { "Sid":"PublicRead", "Effect":"Allow", "Principal": "*", "Action":["s3:GetObject","s3:GetObjectVersion"], "Resource":["arn:aws:s3:::DOC-EXAMPLE-BUCKET/*"] } ] }
This will only have an effect if the bucket doesn't have a "block public access setting", see #20.
Two other examples that caught my interest were:
Sorry, something went wrong.
No branches or pull requests
Originally posted by @zacaytion in #7 (comment)
I need to research bucket policies to fully understand what kinds of things they are useful for and how they should be supported by this tool.
The text was updated successfully, but these errors were encountered: