package
Version:
v1.11.0
Opens a new window with list of versions in this module.
Published: Aug 6, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package redact masks secret material so it never appears in Geiger output.
Line redacts any token-shaped substring inside free text, so accidental
echoes of a raw secret in a log line or error message are masked.
Secret masks a credential, preserving only a short tail for correlation.
Short secrets are fully masked. Examples:
Secret("ghp_aBcD...wXyZJV3Q") => "ghp_…JV3Q"
Secret("abc") => "…"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.