Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 722 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 722 Bytes

vault-to-docker-secret

Allows to read secrets from HashiCorp Vault and store them as Docker secrets.

Installation

Download a release for your platform and you are ready to go.

Create secret

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

Help

Usage instructions:

vault-to-docker-secret --help

Build

In order to build the platform binaries run:

npx pkg -t latest-linux,latest-win,latest-mac .