redact

package
v0.19.1298 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Placeholder = "[REDACTED]"

Variables

This section is empty.

Functions

func DiagnosticSecrets

func DiagnosticSecrets(value string) string

DiagnosticSecrets removes credentials in common URL, header, and structured-assignment forms. It is intentionally not a general-purpose detector for arbitrary secrets embedded in otherwise unlabeled prose.

func IsCredentialKey

func IsCredentialKey(key string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL