Documentation ¶
Index ¶
- type Vault
- func (v *Vault) AppIDLogin() string
- func (v *Vault) AppRoleLogin() string
- func (v *Vault) EC2Login() string
- func (v *Vault) GetToken() string
- func (v *Vault) GitHubLogin() string
- func (v *Vault) Login()
- func (v *Vault) Logout()
- func (v *Vault) Read(path string) ([]byte, error)
- func (v *Vault) TokenLogin() string
- func (v *Vault) UserPassLogin() string
- func (v *Vault) Write(path string, data map[string]interface{}) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
Vault -
func MockServer ¶ added in v2.0.1
MockServer -
func (*Vault) AppRoleLogin ¶
AppRoleLogin - approle auth backend
func (*Vault) Read ¶
Read - returns the value of a given path. If no value is found at the given path, returns empty slice.
func (*Vault) UserPassLogin ¶
UserPassLogin - userpass auth backend
Click to show internal directories.
Click to hide internal directories.