Skip to main content

redact_value

Function redact_value 

Source
pub fn redact_value(value: &Value) -> Value
Available on crate feature catalog only.
Expand description

Recursively replace every secret-sourced string in value with a stable <secret:sha256:…> token. Non-secret strings pass through verbatim, so real config changes (paths, table names, page sizes) stay visible in the diff.