Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidConfig = errors.New("invalid config")
Functions ¶
func CfgFilePath ¶
func CfgFilePath() string
Types ¶
type Config ¶
type Config struct { // Token is a token that is used to authenticate with Vault. Token string `yaml:"token,omitempty"` // Address is the address of the Vault server. Address string `yaml:"address,omitempty"` // Prefix will be prepended to any secret that is passed in Prefix string `yaml:"prefix,omitempty"` }
Click to show internal directories.
Click to hide internal directories.