Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPrefixes = []string{
"ANTHROPIC_API_KEY=",
"GH_TOKEN=",
"GITHUB_TOKEN=",
"OPENAI_API_KEY=",
"OPENCODE_API_KEY=",
}
DefaultPrefixes lists environment variable prefixes that contain secrets.
Functions ¶
func MergePrefixes ¶
MergePrefixes returns a deduplicated, normalized list of sensitive environment variable prefixes by combining DefaultPrefixes with extra.
func NormalizePrefix ¶
NormalizePrefix trims whitespace and ensures the prefix ends with "=".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.