Sign inSign up

nikrofill/vault-agent

By nikrofill

Updated about 2 years ago

Another python vault agent to create .env file

Image
Integration & delivery
0

673

nikrofill/vault-agent repository overview

Vault agent to execute work to grab all secrets and make env files, which you can provide to the application.

Inside Docker compose:

  VAULT_TOKEN: token
  VAULT_ADDR: vault addr
  MOUNT_POINTS: '{"engine 1":["path"],"engine 2":["path"]}'

Files .env.full_path will be stored in /output folder inside the container.

services: vault-job: container_name: vault-job build: context: . dockerfile: Dockerfile environment: VAULT_TOKEN: ${VAULT_TOKEN} VAULT_ADDR: ${VAULT_ADDR} MOUNT_POINTS: '{"mount_point1":"path1","mount_point2":"path2"}' volumes: - secrets:/output command: ["python", "./main.py"] volumes: secrets:

Tag summary

Content type

Image

Digest

sha256:6fa8e1efe

Size

49.5 MB

Last updated

about 2 years ago

docker pull nikrofill/vault-agent