@avify/aws-env
v1.0.10
Published
This package allow the donwload of a .env file using AWS S3 Bucket
Readme
@avify/aws-env
Npm repository for @avify/aws-env package that allow the donwload of an .env file using a S3 Bucket
Installation
npm install @avify/aws-envUsage
You need the following environment variables to be set:
AWS_ACCESS_KEY_IDthe access key idAWS_SECRET_ACCESS_KEYthe secret access keyENV_BUCKETthe name of the bucketENV_LOCATIONthe path for the .env file in the bucket
pakage.json example
{
"scripts": {
"configure": "aws-env",
"build": "your build command"
}
}Also you can use another .env file to set the environment variables
AWS_ACCESS_KEY_ID=your_access_key_id
AWS_SECRET_ACCESS_KEY=your_secret_access_key
ENV_BUCKET=your_bucket
ENV_LOCATION=your_path/.env