Environment variables and secrets
You can set both variables and secrets for a Group of checks.
For browser and multistep checks, you can set variables at the check level. See browser check variables and secrets for more details.
3.3.4
and later. Secrets are available on CLI version 4.9.0
and later.Variable hierarchy
As checks are scheduled, Checkly merges the check, group and global environment variables into one data set and exposes them to the runtime environment. During merging, any check variable with the same name as a global or group variable overrides that variable.
Or, in other words: check variables trump group variables trump global variables.
You can make use of this by providing a default value for a specific variable at the global or group level, but allow that variable to be overridden at the group level or check level.
Last updated on October 2, 2024. You can contribute to this documentation by editing this page on Github