Versions in this module Expand all Collapse all v0 v0.0.7 Oct 27, 2026 Changes in this version + const OpDecrypt + const OpEncrypt + const OpLogin + const OpStatus + const ResultDenied + const ResultError + const ResultInvalid + const ResultOK + const ResultTimeout + const ResultUnavailable + func Resolver(sc config.SecretsConfig) secretbroker.RootResolver + func Unreachable(err error) bool + type Error struct + Err error + KMS string + Op string + Result string + func (e *Error) Error() string + func (e *Error) Unwrap() []error + type Provider interface + Close func() error + Describe func() string + Kind func() string + Status func(ctx context.Context) (Status, error) + func Open(cfg config.KMSConfig) (Provider, error) + type Roots struct + Current secretbroker.Root + Previous secretbroker.Root + Providers []Provider + func Resolve(sc config.SecretsConfig, keys rootkey.Roots) (Roots, error) + func (r Roots) Close() + func (r Roots) UsesKMS() bool + type Status struct + Healthy bool + Healthz string + KeyID string + Version string + func AwaitReady(ctx context.Context, providers []Provider, timeout time.Duration, ...) ([]Status, error)