Expression Functions Reference
Available functions for use in ${{ }} expressions.
These functions can be used to reference dynamic values in your pipeline definitions.
Quick Reference
| Function | Description | Resolves At |
|---|---|---|
secret() | Reference an organization-level secret that will be resolved at runtime by the job-executor | execution |
stage_secret() | Reference a stage-specific secret that will be resolved at runtime by the job-executor | execution |
Functions
secret
Reference an organization-level secret that will be resolved at runtime by the job-executor.
Resolves at: execution
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The name of the secret |
Returns
string
Examples
${{ secret("STRIPE_API_KEY") }}
${{ secret("DATABASE_PASSWORD") }}
stage_secret
Reference a stage-specific secret that will be resolved at runtime by the job-executor.
Resolves at: execution
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The name of the secret |
Returns
string
Examples
${{ stage_secret("DB_PASSWORD") }}
${{ stage_secret("AWS_ACCESS_KEY") }}