Comment on page
Local Secrets Manager
How to store secrets locally
This is an older version of the ZenML documentation. To read and view the latest version please visit this up-to-date URL.
The local secrets manager is a secrets manager flavor which comes built-in with ZenML and uses the local filesystem to store secrets.
The local secrets manager is built for early local development and should not be used it a production setting. It stores your secrets without encryption and only works in combination with the local orchestrator.
The local secrets manager comes with ZenML and works without any additional setup.
To use the local secrets manager, we can register it and use it in our active stack:
zenml secrets-manager register <NAME> --flavor=local
# Add the secrets manager to the active stack
zenml stack update -x <NAME>
You can now register, update or delete secrets using the CLI or fetch secret values inside your steps.
For more information and a full list of configurable attributes of the local secrets manager, check out the API Docs.
Last modified 1mo ago