Skip to main content

Expression Functions Reference

Available functions for use in ${{ }} expressions.

These functions can be used to reference dynamic values in your pipeline definitions.

Quick Reference​

FunctionDescriptionResolves At
secret()Reference an organization-level secret that will be resolved at runtime by the job-executorexecution
stage_secret()Reference a stage-specific secret that will be resolved at runtime by the job-executorexecution

Functions​

secret​

Reference an organization-level secret that will be resolved at runtime by the job-executor.

Resolves at: execution

Parameters​

ParameterTypeDescription
namestringThe 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​

ParameterTypeDescription
namestringThe name of the secret

Returns​

string

Examples​

${{ stage_secret("DB_PASSWORD") }}
${{ stage_secret("AWS_ACCESS_KEY") }}