package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: May 5, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Client is the gateway into Vault's key-value secrets engine.
For more information, see https://www.vaultproject.io/docs/secrets/kv.
GetSecret retrieves the secret at the specified path and maps the data a struct at the provided address.
If a secret is not found at the provided path, nil will be returned for both the secret and error return values.
UpsertSecret creates or updates the secret at the specified path.
type Secret struct {
Data map[string]interface{}
Version int
}
Secret contains versioned, private information corresponding to a key in Vault's key-value engine.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.