Comment on page
HashiCorp Vault Secrets Manager
How to store secrets in HashiCorp Vault
You should use the HashiCorp Vault secrets manager if:
- a component of your stack requires a secret for authentication or you want to use secrets inside your steps.
- you're already using HashiCorp Vault to store your secrets or want a self-hosted secrets solution.
To get started with this secrets manager, you need to either:
To use the Vault secrets manager, we need:
- The ZenML
vaultintegration installed. If you haven't done so, runzenml integration install vault
- The Vault server URL and KV Secrets Engine v2 endpoint.
We can then register the secrets manager and use it in our active stack:
zenml secrets-manager register <NAME> \
# Add the secrets manager to the active stack
zenml stack update -x <NAME>
Last modified 1mo ago