pub fn redact_secret(value: Option<&str>) -> Option<String>
Replaces an optional secret with a placeholder and fingerprint.