Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CacheTTL time.Duration
CacheTTL controls how long resolved secrets remain valid. A zero duration disables expiry so values persist until ClearCache is called.
Functions ¶
func LoadRandomSecret ¶
LoadRandomSecret selects one of the provided secret references at random and resolves it via LoadSecret. When multiple references are given a unique seed is used for the random generator to ensure a different selection on each invocation.
func LoadSecret ¶
LoadSecret resolves a secret reference using the registered plugins.
func ValidateSecret ¶
ValidateSecret checks that the reference uses a known prefix.
Types ¶
Click to show internal directories.
Click to hide internal directories.