aws-helper-scripts/readme.md

17 lines
911 B
Markdown
Raw Normal View History

2018-04-27 15:44:37 +02:00
Helper scripts to quickly build buckets with tidy access rights
## Getting started
2018-04-27 15:52:04 +02:00
1. Install [AWS command line tool](https://aws.amazon.com/cli).
- Mac users can run `brew install awscli` (provided you have [brew](https://brew.sh/)).
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.
2018-04-27 16:39:16 +02:00
1. 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.
2018-04-27 15:50:59 +02:00
1. Create access tokens for the user.
2018-04-27 15:44:37 +02:00
Licensed under GNU GPLv3, see `LICENSE.txt`.