Expand description
Key redaction and safety utilities
This module provides utilities for redacting sensitive information (API keys, credentials) from logs, error messages, and debug output to prevent accidental credential leakage.
Structs§
- Redacted
- A wrapper type that automatically redacts its Debug output
- Redaction
Filter - Redaction filter for removing sensitive information from strings
Functions§
- contains_
sensitive_ info - Check if a string contains sensitive information
- get_
redaction_ filter - Get the global redaction filter (singleton)
- redact
- Redact sensitive information from a string using the global filter