Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type GenerateKey ¶
type Vault ¶ added in v1.3.0
type Vault struct {
// contains filtered or unexported fields
}
func NewVault ¶ added in v1.3.0
func NewVault(keyGenerator GenerateKey, client VaultClienter, path string) *Vault
func (*Vault) EncryptionKey ¶ added in v1.3.0
type VaultClienter ¶ added in v1.3.0
type VaultClienter interface {
ReadKey(path, key string) (string, error)
WriteKey(path, key, value string) error
Checker(ctx context.Context, state *healthcheck.CheckState) error
}
Click to show internal directories.
Click to hide internal directories.