Helper scripts to quickly build buckets with tidy access rights
Go to file
Nils Norman Haukås 8fa2bb9c8b add nogithub badge 2024-01-22 19:25:14 +01:00
LICENSE.txt rename file 2018-04-27 16:06:52 +02:00
create-aws-user-and-key.sh move key creation to create user script 2018-08-14 13:51:38 +02:00
delete-aws-user-and-key.sh move key creation to create user script 2018-08-14 13:51:38 +02:00
give-user-access-to-bucket.sh initial commit 2018-04-27 15:44:37 +02:00
policy.json improve default bucket policy, update readme 2018-04-27 16:37:40 +02:00
readme.md add nogithub badge 2024-01-22 19:25:14 +01:00
s3-spin-up-a-bucket.sh move key creation to create user script 2018-08-14 13:51:38 +02:00

readme.md

Helper scripts to quickly build buckets with tidy access rights

Please don't upload to GitHub

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.