Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultClient ¶
type VaultClient struct {
// contains filtered or unexported fields
}
func NewVaultClient ¶
func NewVaultClient(roleID, secretID, env, kvPrefix string, logger *logrus.Logger) (*VaultClient, error)
NewClient initializes vault client with default configuration. It authenticates using approle method (or uses provided token in dev) and returns.
Click to show internal directories.
Click to hide internal directories.