Helper scripts to quickly build buckets with tidy access rights
Find a file
Nils Norman Haukås 7a5b5268f3 rename file
2018-04-27 16:06:52 +02:00
create-aws-user.sh initial commit 2018-04-27 15:44:37 +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 initial commit 2018-04-27 15:44:37 +02:00
readme.md update readme 2018-04-27 15:52:04 +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.
    5. Create access tokens for the user.

Licensed under GNU GPLv3, see LICENSE.txt.