Documentation
¶
Index ¶
- type Config
- type Logger
- type Vault
- func (v *Vault) Debug(message string)
- func (v *Vault) GetSecretKey(path string, key string) (string, error)
- func (v *Vault) GetSecretKeys(path string) (map[string]string, error)
- func (v *Vault) GetUser() string
- func (v *Vault) Info(message string)
- func (v *Vault) ListSecrets(path string) ([]string, error)
- func (v *Vault) Login() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶ added in v0.0.2
type Logger interface {
Debug(args ...interface{})
Info(args ...interface{})
}
type Vault ¶ added in v0.0.2
type Vault struct {
// contains filtered or unexported fields
}
func (*Vault) GetSecretKey ¶ added in v0.0.2
Pulls a single key from a secret path and returns the value as a string
func (*Vault) GetSecretKeys ¶ added in v0.0.2
Pulls all keys from a secret path and returns the value as a map[string]string
func (*Vault) ListSecrets ¶ added in v0.0.2
Pulls all keys from a secret path and returns the value as a map[string]string
Click to show internal directories.
Click to hide internal directories.