Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Filters = map[string]Filter{ "jsonpath": jsonpath.Filter, }
View Source
var ProviderFactories = map[string]ProviderFactory{ "passthrough": func() (Provider, error) { return passthrough.New() }, "azkv": func() (Provider, error) { return azkv.New() }, "gcpsm": func() (Provider, error) { return gcpsm.New() }, "awssm": func() (Provider, error) { return awssm.New() }, "scwsm": func() (Provider, error) { return scwsm.New() }, }
ProviderFactories contains a ProviderFactory for each prefix known to murmur.
Functions ¶
func ResolveAll ¶
ResolveAll returns a map with the same keys as vars, where all values with known prefixes have been replaced with their values.
Types ¶
type Filter ¶
A Filter transforms a value obtained from a secret store into another value based on the given rule.
type Provider ¶
type Provider interface { // Resolve returns the value of the secret with the given ref. Resolve never // gets called after Close. Resolve(ctx context.Context, ref string) (string, error) // Close signals to the provider that it can release any resources it has // allocated, like network connections. Close should return once those // resources are released. Close() error }
A Provider fetches values from a secret store.
type ProviderFactory ¶
A ProviderFactory returns a new Provider.
Click to show internal directories.
Click to hide internal directories.