Expand description
The single redaction helper: configuration errors, the configuration explanation and every CLI report use it.
Secret-looking keys use is_secret_key, the
same rule the configuration errors apply. Redaction errs toward hiding
too much: a false positive only hides part of a message, a false
negative leaks a credential.
Constants§
- REDACTED
- What a redacted value is replaced with.
Functions§
- redact_
field - Redact the value of a field called
key: all of it when the key looks secret, otherwise any credentials inside it (seeredact_text). - redact_
text - Redact every credential found in
text.