CHECKLY_SECRET_* prefix and the runtime will scrub those values from all output.
How it works
Assign values toprocess.env.CHECKLY_SECRET_* in your check code:
- Check logs
- Trace files
- Screenshots containing text
- Report trees
Supported patterns
Limitations
- Check types: Only works in browser checks and multistep checks
- Value format: Must be a string (empty strings,
null,undefined, numbers, objects, and arrays are ignored) - Size limit: Values cannot exceed 128KB (~128,000 characters)
Example usage
Runtime compatibility
This feature is available from runtime2024.09 onwards. For private locations running older agent versions, contact support for access.