Documentation
¶
Overview ¶
Package local is the AES-256-GCM secrets.Cipher for tests and minimal deployments: one 32-byte master key from configuration, no external service. Production deployments use internal/secrets/openbao; this backend keeps `make test` and bao-less installs working (docs/plan/12, D1).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cipher ¶
type Cipher struct {
// contains filtered or unexported fields
}
Cipher is the local AES-256-GCM implementation of secrets.Cipher.
func New ¶
New validates the config eagerly: a wrong-size key must fail at startup, not on the first credential write.
Click to show internal directories.
Click to hide internal directories.