Skip to content

yuichiro12/envelope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

envelope

.env <-> AWS Parameter Store

envelope_list

envelope_apply

  • all parameters are stored as SecureString
  • .env is parsed by joho/godotenv

Installation

go get -u github.com/yuichiro12/envelope

Usage

first of all, configure aws-go-sdk with your preferable way:

https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/configuring-sdk.html

list

list all parameters in AWS Parameter Store with given path

envelope list /Myservice/MyApp/Dev

create local .env from Parameter Store:

envelope list /Myservice/MyApp/Dev > .env

apply

apply .env to AWS Parameter Store with given prefix and filepath

envelope apply -f /path/to/.env /Myservice/MyApp/Dev

diff

show diff before applying .env

envelope diff -f /path/to/.env /Myservice/MyApp/Dev

About

.env <-> aws parameter store

Resources

Stars

Watchers

Forks

Packages

No packages published