Documentation ¶
Index ¶
- type Vault
- func (v *Vault) AppIDLogin() (string, error)
- func (v *Vault) AppRoleLogin() (string, error)
- func (v *Vault) EC2Login() (string, error)
- func (v *Vault) GetToken() (string, error)
- func (v *Vault) GitHubLogin() (string, error)
- func (v *Vault) List(path string) ([]byte, error)
- func (v *Vault) Login() error
- func (v *Vault) Logout()
- func (v *Vault) Read(path string) ([]byte, error)
- func (v *Vault) TokenLogin() (string, error)
- func (v *Vault) UserPassLogin() (string, error)
- 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 (*Vault) AppIDLogin ¶
AppIDLogin - app-id auth backend
func (*Vault) AppRoleLogin ¶
AppRoleLogin - approle auth backend
func (*Vault) GitHubLogin ¶
GitHubLogin - github 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.