Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 1.06 KB

README.rst

File metadata and controls

58 lines (41 loc) · 1.06 KB

aioworkers-vault

Python versions

Use

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

Development

Install dev requirements:

pipenv install --dev --skip-lock

Run tests:

pipenv run pytest