Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthPath = "v1/auth/kubernetes/login"
View Source
var SecretPath = "v1/secret/data/webapp/config"
Functions ¶
func AuthRetrieveSecret ¶
Types ¶
type VaultClient ¶
type VaultClient struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(addr string, jwt string) *VaultClient
func (*VaultClient) GetVaultToken ¶
func (vc *VaultClient) GetVaultToken() string
func (*VaultClient) RetrieveSecret ¶
func (vc *VaultClient) RetrieveSecret(token string) (map[string]string, error)
Click to show internal directories.
Click to hide internal directories.