Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feature) Add Amazon S3 backend #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

biw
Copy link
Owner

@biw biw commented Mar 17, 2021

This PR adds Amazon S3 backend support to Nuts. Assets are proxied through Nuts and do not need to be public. Access to the assets is facilitated through Amazon access key and secret key which can be set through environment variables. This is a rudimentary implementation and serves as a base.

Added Environment Variables

* `NUTS_BACKEND`: Select backend to use. (`github`, `s3`)

* `AWS_ACCESS_KEY_ID`: Your AWS Access Key ID which can access the assets

* `AWS_SECRET_ACCESS_KEY`: Your AWS Secret Access Key

* `AWS_BUCKET`: The Amazon S3 bucket containing the assets (Ex: `my-bucket`)

* `AWS_RELEASES_PREFIX`: An optional path prefix to the releases. (Ex: `my-app/releases`)

From GitbookIO/nuts#105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants