Secrets manager
Manage API keys, database credentials, and other secrets
With Secrets Manager you can save API keys and database credentials securely instead of including them directly in your workflow code. All secrets are encrypted in transit and at rest and made available during execution of your workflow.
Secrets used to authenticate your connections are stored separately from Secrets Manager.
Getting started
Use the secrets manager to add new secrets and delete existing ones.
Deleting secrets used in active workflows will likely cause future workflow runs to fail.
From main dashboard
From the main dashboard, press on your profile avatar, and then Secrets manager
.
From code editor
In the code editor, press on Secrets manager
on the bottom left menu.
Using secrets in your workflows
Secrets are accessible in your workflows via environment variables. You can reference them as you would any other environment variable in Python. For example, to access a secret configured with the key MY_SECRET
:
Importing os
via import os
is necessary in your workflow to access the
getenv
method.
Was this page helpful?