Secrets
Secrets are encrypted values that are never exposed in the UI after creation. Use them for:- API keys and tokens
- Database passwords
- Private keys
- Any value you would never commit to source control
Setting secrets
Secrets live inside the workflow that uses them. Open the workflow in the editor and set them from the Config tab alongside your environment variables.Using secrets in code
Secrets are injected as environment variables at runtime. Access them withos.environ:
Declaring required secrets
List secrets your workflow needs in theconfig.yaml so that missing secrets are flagged before execution:
Environment variables
Environment variables store non-sensitive configuration values. Unlike secrets, their values are visible in the UI. Use them for:- API endpoint URLs
- Feature flags
- Configuration modes (e.g.
LOG_LEVEL=debug)