Expand description
Secret detection and redaction in tool outputs.
Scans text for common secret patterns (API keys, tokens, passwords, base64 blobs) and provides redaction utilities.
Structs§
- Secret
Match - A single detected secret with its location in the input text.
Enums§
- Secret
Kind - The type/category of a detected secret.
Functions§
- detect_
secrets - Scan text for potential secrets.
- redact_
secrets - Redact all detected secrets in the text, replacing them with
[REDACTED].