@avify/aws-env
v1.0.8
Published
This package allow the donwload of a .env file using AWS S3 Bucket
Downloads
17
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-env
Usage
You need the following environment variables to be set:
AWS_ACCESS_KEY_ID
the access key idAWS_SECRET_ACCESS_KEY
the secret access keyENV_BUCKET
the name of the bucketENV_LOCATION
the 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