Expand description
Redaction utilities for cloud-mode logging/payloads.
Cloud mode must never log or report secrets. Git and HTTP error strings can
contain embedded credentials (for example, URLs with user:pass@host).
This module provides a conservative sanitizer for untrusted error strings.
Functionsยง
- redact_
secrets - Redact likely secrets from an untrusted, user-controlled string.