Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultSecrets ¶
type VaultSecrets struct {
// contains filtered or unexported fields
}
VaultSecrets implements a secret.Store backed by Hashicorp Vault
func New ¶
func New(addr, basepath, token string, renewal time.Duration) (v *VaultSecrets, err error)
New creates a new Vault client and pings the server
func (*VaultSecrets) GetSecretsForTarget ¶
func (v *VaultSecrets) GetSecretsForTarget(name string) (map[string]string, error)
GetSecretsForTarget implements secret.Store
Click to show internal directories.
Click to hide internal directories.