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.

When to use it

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.

How to deploy it

The local secrets manager comes with ZenML and works without any additional setup.

How to use it

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 updated