Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSecretNotFound = errors.New("no secret at given path") ErrVaultConfig = errors.New("secret does not contain a valid vault configuration") )
Functions ¶
Types ¶
type Client ¶
func NewRootClient ¶
type Config ¶
type Config struct { // Token is the Vault token to use for authentication. Token string `json:"token"` // Address is the Vault address to use for authentication. Address string `json:"address"` // Insecure enables or disables SSL verification Insecure bool `json:"insecure,omitempty"` // TLS is a flag that address is a TLS address. TLS bool `json:"tls,omitempty"` // Path is the mount root of the nats secrets engine. Path string `json:"path"` }
Click to show internal directories.
Click to hide internal directories.