Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
Vault is a client to communicate with an instance of Hashicorp's Vault.
func NewWithAppRole ¶ added in v0.3.0
NewWithAppRole creates a new Vault client using AppRole as the authentication method. The token retrieved using roleID and secretID is automatically refreshed. VaultURL is the URL of the Vault server to connect to. prefix is the string prefix used when storing the secrets in Vault. store the store path used when storing secrets.
func NewWithToken ¶ added in v0.3.0
NewWithToken creates a new Vault client using an authentication token. VaultURL is the URL of the Vault server to connect to. prefix is the string prefix used when storing the secrets in Vault. store the store path used when storing secrets.
Click to show internal directories.
Click to hide internal directories.