Overview
Variables let you parameterize runbooks. Define them in thevariables section and reference them in step values with {{variableName}} syntax.
Definition
Variable fields
Variable sources
Resolution priority
At execution time, variables are resolved in priority order: secrets > data > context > env > expression > fixed > prompt. The first match wins. For a detailed breakdown of each source, see Variables & Secrets: Resolution priority.In SDK mode,
prompt source is not available. Unresolved required variables will throw an error.Using variables in steps
Reference variables in any string field using{{variableName}}:
Sensitive variables
Mark variables assensitive: true to prevent their values from appearing in logs and reports:
--secrets (CLI) or the secrets option (SDK) are automatically treated as sensitive.
Batch execution with data source
When using --data, map variable names to CSV/JSON columns with dataSource: