keyshape

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package keyshape holds the one predicate that says whether an environment NAME carries a secret: the env var value is never inspected, only the name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SecretName

func SecretName(name string) bool

SecretName says whether an environment NAME carries a secret: the one predicate cmd/nova-swarm redacts its argv log by, the shell shim unsets by, and both pkg/goenv gate scrub paths drop by (SPEC-CI.md, the `goenv` class rule). Uppercased, so `deepseek_api_key` and `MiXeD_KeY` are both caught. PASSWORD and PASSWD are caught too: a database credential (PGPASSWORD, NOVA_PG_PASSWORD, NOVA_REDIS_PASSWORD) carries neither KEY nor TOKEN.

Types

This section is empty.

Jump to

Keyboard shortcuts

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