Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 881 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 881 Bytes

Fortress

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.

Setup

Read and run the setup script:

./bin/setup.sh

Run Script

To run the script for hokusai-sandbox test project:

ENV=development python src/load/load.py iam staging hokusai-sandbox

Testing

Unit tests

make test

or

pytest <dir>
ptw <dir>