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 - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

2

package.json
{
"name": "dotenv-ssm",
"version": "1.0.0",
"version": "1.0.1",
"author": "nemanjacoder@gmail.com",

@@ -5,0 +5,0 @@ "description": "",

@@ -1,2 +0,2 @@

# DOTENV SSM
# DOTENV SSM [![npm](https://img.shields.io/npm/v/dotenv-ssm.svg?style=flat-square)](https://www.npmjs.com/package/dotenv-ssm)

@@ -9,22 +9,43 @@ 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.

Intended to be run as a script, i.e.:
Intended to be run as a script, with the following env vars:
```ssh
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`:
```sh
AWS_ACCESS_KEY_ID=accessKey \
AWS_SECRET_ACCESS_KEY=secretKey \
AWS_REGION=us-east-1 \
SSM_PREFIX=/myapp/production/ \
npx dotenv-ssm
```
Or, if you have it installed:
Or, if you have it installed as a binary:
```sh
AWS_ACCESS_KEY_ID=accessKey \
AWS_SECRET_ACCESS_KEY=secretKey \
AWS_REGION=us-east-1 \
SSM_PREFIX=/myapp/production/ \
npx dotenv-ssm
dotenv-ssm
```
Or as part of an npm script:
```json
{
"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

@@ -39,1 +60,5 @@

```
## Licence
MIT
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