Documentation ¶
Overview ¶
Package vault provides the vault secrets backend.
Index ¶
Constants ¶
View Source
const ( EndpointKey = "endpoint" NamespaceKey = "namespace" TokenKey = "token" CACertKey = "ca-cert" ClientCertKey = "client-cert" ClientKeyKey = "client-key" TLSServerNameKey = "tls-server-name" )
View Source
const (
// BackendType is the type of the Vault secrets backend.
BackendType = "vault"
)
Variables ¶
View Source
var NewVaultClient = vault.NewClient
NewVaultClient is patched for testing.
Functions ¶
func NewProvider ¶
func NewProvider() provider.SecretBackendProvider
NewProvider returns a Vault secrets provider.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.