Skip to content

A small library for export parameters from AWS Systems Manager.

License

Notifications You must be signed in to change notification settings

rkit/ssm-export-cli

Repository files navigation

ssm-export-cli

Build Status

A small library for export parameters from AWS Systems Manager.

Export File Types

At the moment it's supported only dotenv.

Usage

  1. Add ssm-export-cli to the project:

    npm install ssm-export-cli
  2. Run:

    npx ssm-export --path=<PATH> --file-name=<FILE NAME> --type=<TYPE>

    to see instruction, run:
    npx ssm-export

Example

Export parameters with path /app/production/ to .env:

npx ssm-export --path=/app/production/ --file-name=./.env --type=dotenv

Enjoy ✌️