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 build-plane | build-plane |
stage_secret() | Reference a stage-specific secret that will be resolved at runtime by the build-plane | build-plane |
Functions
secret
Reference an organization-level secret that will be resolved at runtime by the build-plane.
Resolves at: build-plane
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 build-plane.
Resolves at: build-plane
Parameters
| Parameter | Type | Description |
|---|---|---|
name | string | The name of the secret |
Returns
string
Examples
${{ stage_secret("DB_PASSWORD") }}
${{ stage_secret("AWS_ACCESS_KEY") }}