Helper scripts to quickly build buckets with tidy access rights
- Install AWS command line tool.
- Mac users can run
brew install awscli
(provided you have brew).
- Mac users can run
- Configure it with
aws configure
and add access token.- Note: We do not yet provide top level credentials to create buckets but soon.
- Run
./s3-spin-up-a-bucket.sh bucket-name
. This will:- Create a user called bucket-name for simplicity.
- Give user right to list buckets (not view their contents).
- Create bucket called bucket-name.
- 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.
- Create access tokens for the user.
Licensed under GNU GPLv3, see LICENSE.txt
.