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.
|
2018-04-27 15:50:59 +02:00
|
|
|
- Mac users can run `brew install awscli` (provided you have brew).
|
2018-04-27 15:44:37 +02:00
|
|
|
1. Configure it with `aws configure` and add access token.
|
2018-04-27 15:50:59 +02:00
|
|
|
- Note: We do not yet provide top level credentials to create buckets but soon.
|
2018-04-27 15:44:37 +02:00
|
|
|
1. Run `./s3-spin-up-a-bucket.sh bucket-name`. This will:
|
2018-04-27 15:50:59 +02:00
|
|
|
1. Create a user called bucket-name for simplicity.
|
|
|
|
1. Give user right to list buckets (not view their contents).
|
|
|
|
1. Create bucket called bucket-name.
|
|
|
|
1. Add bucket access policy so that user can work within the bucket.
|
|
|
|
1. Create access tokens for the user.
|
2018-04-27 15:44:37 +02:00
|
|
|
|
|
|
|
Licensed under GNU GPLv3, see `LICENSE.txt`.
|