Upload secrets/parameters from various sources to various destinations.
This tool is in very early stage, I'm planning to support more sources/destinations in the future. Use at your own risk.
- .env files
- AWS SSM Parameter Store
git clone [email protected]:refl3ction/vampire.git
cd vampire
make install # Requires rust toolchain to be installed for now
Before running the tool, make sure to export your AWS profile.
export AWS_PROFILE=my-profile
Usage: vampire [OPTIONS] --file <FILE> --region <REGION>
Options:
-f, --file <FILE>
-p, --prefix <PREFIX> [default: ]
-r, --region <REGION>
-o, --overwrite
-h, --help Print help information
-V, --version Print version information
cat .env
FOO=bar
BAR=baz
BAZ=foobar
vampire --file .env --prefix /dev/app/ --region us-east-1 --overwrite
# output
File: .env
Prefix: /dev/app/
Region: us-east-1
Overwrite: true
The following variables will be created:
/dev/app/FOO=***
/dev/app/BAR=***
/dev/app/BAZ=***
Would you like to proceed? (n/y)
y
[ok] parameter updated | Name: /dev/app/FOO | version: 5
[ok] parameter updated | Name: /dev/app/BAR | version: 5
[ok] parameter created | Name: /dev/app/BAZ | version: 1
- Add tests
- Build binary using Github Actions
- Add more sources
- k8s secrets (yaml manifest)
- Yaml
- Add more destinations
- AWS Secrets Manager