a:
secret: TARGET
vault:
servers:
a:
address: http://localhost:8200
namespace: myproject/prod
token: my_super_secret_token
b:
address: https://localhost:8200
namespace: myproject/prod
token_file: /path/to/my_super_secret_token
secrets:
- server: a
type: kv
name: my_secret
values:
field: a.secret
- server: a
type: kv-v2
name: my_secret2
values:
field: a.secret
Install dev requirements:
pipenv install --dev --skip-lock
Run tests:
pipenv run pytest