Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dotenv-ssm

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotenv-ssm

Simple utility to fetch env vars from the [AWS SSM Parameter Store](https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html) and create a `.env` file from them.

  • 2.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
50
increased by92.31%
Maintainers
1
Weekly downloads
 
Created
Source

DOTENV SSM npm

Simple utility to fetch env vars from the AWS SSM Parameter Store and create a .env file from them.

Note: this script will auto-decrypt the vars.

Usage

Intended to be run as a script, with the following env vars:

AWS_ACCESS_KEY_ID=accessKey
AWS_SECRET_ACCESS_KEY=secretKey
AWS_REGION=us-east-1
SSM_PREFIX=/myapp/production/

You can execute it with npx:

npx dotenv-ssm

Or, if you have it installed as a binary:

dotenv-ssm

Or as part of an npm script:

{
  "name": "example",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "ssm-secrets": "dotenv-ssm"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "dotenv-ssm": "^1.0.0"
  }
}

Installation

# npm
npm i dotenv-ssm

# yarn
yarn add dotenv-ssm

Licence

MIT

FAQs

Package last updated on 12 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc