Skip to main content

Internal Tokens

There are a number of tokens that are available to you in the crul query pipeline. These can be used like regular tokens to contruct command arguments and flag values

Available Internal Tokens

$TIMESTAMP$

The current epoch time.

$TIMESTAMP_ISO$

The current ISO time.

$TIMESTAMP_EPOCH$

The current epoch time.

$CREDENTIALS.{CREDENTIAL NAME}$

You can access any credential secret value using the above token format. This is most useful with custom credentials (essentially just an key value pair where the value is encrypted). As an example, we can make an authenticated api request with a Authorization token.

api get https://www.{AUTHENTICATED-API}.com --headers '{"Authorization": "$CREDENTIALS.API_KEY$"}'