Allows to read secrets from HashiCorp Vault and store them as Docker secrets.
Download a release for your platform and you are ready to go.
Reads a secret from Vault and stores it as a Docker secret:
vault-to-docker-secret --approle-file=FILE --vault-endpoint=ENDPOINT --vault-path=PATH --vault-key=KEY --secret-name=NAME
Usage instructions:
vault-to-docker-secret --help
In order to build the platform binaries run:
npx pkg -t latest-linux,latest-win,latest-mac .