This repo contains code for authenticating with Hashicorp Vault and fetching secrets. The code can be run as a script at the command-line, and it can also be used by Python applications as a package.
The script is run in a Kubernetes Init Container for Artsy apps.
- Point People: #product-sapphire
Read and run the setup script:
./bin/setup.sh
To run the script for hokusai-sandbox test project:
ENV=development python src/load/load.py iam staging hokusai-sandbox
make test
or
pytest <dir>
ptw <dir>