Helper scripts to quickly build buckets with tidy access rights
Go to file
2018-05-25 14:42:07 +02:00
create-aws-user.sh make file executable 2018-04-27 16:16:39 +02:00
delete-aws-user.sh add script for user deletion 2018-05-25 14:42:07 +02:00
give-user-access-to-bucket.sh initial commit 2018-04-27 15:44:37 +02:00
LICENSE.txt rename file 2018-04-27 16:06:52 +02:00
policy.json improve default bucket policy, update readme 2018-04-27 16:37:40 +02:00
readme.md update readme 2018-04-27 16:39:16 +02:00
s3-spin-up-a-bucket.sh initial commit 2018-04-27 15:44:37 +02:00

Helper scripts to quickly build buckets with tidy access rights

Getting started

  1. Install AWS command line tool.
    • Mac users can run brew install awscli (provided you have brew).
  2. Configure it with aws configure and add access token.
    • Note: We do not yet provide top level credentials to create buckets but soon.
  3. Run ./s3-spin-up-a-bucket.sh bucket-name. This will:
    1. Create a user called bucket-name for simplicity.
    2. Give user right to list buckets (not view their contents).
    3. Create bucket called bucket-name.
    4. Add bucket access policy so that user can work within the bucket. Important: All resources within bucket will be downloadable by anyone with a link by default. So, adjust this if you need stricter security.
    5. Create access tokens for the user.

Licensed under GNU GPLv3, see LICENSE.txt.