miniproto.security.redaction.redact_text
miniproto.security.redaction.redact_text
Section titled “miniproto.security.redaction.redact_text”redact_text(text: str) -> strMask recognized key=value and key: value secrets in text.
Parameters:
- text (
str) – Text that may contain supported sensitive assignments.
Returns:
str– Text with matched values replaced by the redaction marker.