Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.
/ penny Public archive

🙋 A tiny tool for running processes in a SSM Parameter Store environment

License

Notifications You must be signed in to change notification settings

andersnormal/penny

Repository files navigation

Build Status Taylor Swift Volkswagen License

Penny

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

Getting Started

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 with SSM when not otherwise specified

penny --path /example run printenv

This would suggest that there is a key in /example/parameter.

Usage

You can use --help to print out all the available options.

--force

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.

PENNY_PATH (--path)

Configures the path in the System Manager Parameter Store from which to fetch the configs.

PREFIX (--prefix)

Configures the prefix for the parameters that are in the path (e.g. SSM_MY_SECRET)

License

Apache-2.0