Migrate your .env file to AWS SSM parameter store
- Clone this project and run
npm i
to install dependencies - Copy the .env file you want to migrate to the root of this project (This app runs on your machine and uses official AWS SDK to upload, your parameters won’t go anywhere else)
- In the .env file, add a dash ‘-‘ before each secure env variable name (or customize this in
app.js
) to encrypt it with the provided KMS key ID. - In
app.js
Specify AWS region, SSM parameters path, and KMS key ID encrypt secure strings. - If you haven’t used AWS CLI on your machine before and AWS IAM is not configured, specify IAM
accessKeyId
andsecretAccessKey
inapp.js
.
- All Parameters will be of standard tier and and have a
DataType
of text. - This will not overwrite any existing parameters you have on your AWS region. If You want to overwrite, set the
overwrite
flag inapp.js
to true.
- Add screenshots to README
- Add sample .env
- Add support for parameter description
{{ my paramter Description }}