Skip to content

Instantly share code, notes, and snippets.

@brijesh-deb
Last active December 24, 2017 05:28
Show Gist options
  • Save brijesh-deb/d18605c0562d1bd02ceba4151954aca5 to your computer and use it in GitHub Desktop.
Save brijesh-deb/d18605c0562d1bd02ceba4151954aca5 to your computer and use it in GitHub Desktop.
#AWS #PolicyGenerator

Using Policy Generator

  • https://awspolicygen.s3.amazonaws.com/policygen.html
  • Select
    • Type of policy: [S3 Bucket Policy]
    • Effect: Allow
    • Principal: * (for all) or ARN of AWS accounts
    • Actions: GetObject(example)
    • ARN: (arn:aws:s3:::<bucket_name>/<key_name>) for example:arn:aws:s3:::brij-bucket/*
  • Add statement
  • Generate policy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment