Documentation
¶
Overview ¶
Package vault is the HashiCorp Vault secret provider. Call Register to make provider = "vault" config blocks resolve, or build one directly with New.
Index ¶
Constants ¶
View Source
const TypeName = "vault"
TypeName is the provider = "..." config value for the HashiCorp Vault provider.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(cfg secretprovider.Config) (secretprovider.Provider, error)
New creates a Vault-backed secret provider.
func Register ¶
func Register() error
Register adds the HashiCorp Vault provider to the secretprovider factory table under TypeName, so secretprovider.NewProvider and RegisterConfigs accept provider = "vault" config blocks. Calling it more than once is a no-op; it returns an error only if another package already registered TypeName.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.