Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidSecret = errors.New("invalid secret")
)
View Source
var ErrSecretRef = errors.New("invalid secret reference")
Functions ¶
func LoadRef ¶
LoadRef loads a secret value from a reference string.
Supported forms: - env:NAME - file:/path/to/secret - raw:literal-value (intended for tests/dev only) - vault:secret/path[#field] (reads from Vault HTTP API using env-configured address/token)
func ValidateRef ¶ added in v1.1.0
ValidateRef validates a secret reference format without loading its value.
Supported forms: - env:NAME - file:/path/to/secret - raw:literal-value - vault:secret/path[#field]
Types ¶
type Set ¶
type Set struct {
Versions []Version
}
func (Set) SigningAt ¶
SigningAt returns the newest (most recent ValidFrom) secret that is valid at time t.
Click to show internal directories.
Click to hide internal directories.