Migrate your .env file to AWS SSM parameter store
- Clone this project and run
npm ito 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.jsSpecify 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
accessKeyIdandsecretAccessKeyinapp.js.
- All Parameters will be of standard tier and and have a
DataTypeof text. - This will not overwrite any existing parameters you have on your AWS region. If You want to overwrite, set the
overwriteflag inapp.jsto true.
- Add screenshots to README
- Add sample .env
- Add support for parameter description
{{ my paramter Description }}