Penny is a tool to run commands in K/V pre-configured environments. It is especially useful in Docker containers to populate the environment with secrets.
The supported K/V providers are
- System Manager Parameter Store
- libkv (comming soon)
The most simple case is, that you want to execute a command with all the available parameters from the store. Folders are converted to _
in the environment variable.
it is recommended to use
PENNY_PATH
to configure the path to fetch all parameters are prefixed withSSM
when not otherwise specified
penny --path /example run printenv
This would suggest that there is a key in /example/parameter
.
You can use --help
to print out all the available options.
this is especially helpful in the case of testing
This forces to run the process, without be able to fetch an env from the parameter store.
Configures the path in the System Manager Parameter Store from which to fetch the configs.
Configures the prefix for the parameters that are in the path (e.g. SSM_MY_SECRET)