Skip to content

Extract a .env file from one saved in AWS Secrets Manager

Notifications You must be signed in to change notification settings

redcartel/secret-to-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intended usage:

aws secretsmanager get-secret-value --secret-id local/my-project --profile development | npx stdin-secret-to-env@latest > .env.local

Where the local/my-project secret is a multi-line env file stored as plaintext.

However, it could be used to pull a single top-level value from any JSON string

About

Extract a .env file from one saved in AWS Secrets Manager

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published