Documentation
¶
Index ¶
- type Vault
- func (v *Vault) GetJSON(key string) ([]byte, error)
- func (v *Vault) GetMapByte(key string) (map[string][]byte, error)
- func (v *Vault) GetMapInterface(key string) (map[string]interface{}, error)
- func (v *Vault) GetMapString(key string) (map[string]string, error)
- func (v *Vault) Init() error
- func (v *Vault) List(key string) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Vault ¶
type Vault struct { Storage string Address string Insecure bool Config *api.Config Client *api.Client }
Vault - vault api calls Expects VAULT_ADDR, VAULT_INSECURE, VAULT_TOKEN to be set in env variables
func (*Vault) GetMapByte ¶ added in v0.0.3
func (*Vault) GetMapInterface ¶ added in v0.0.3
func (*Vault) GetMapString ¶ added in v0.0.3
Click to show internal directories.
Click to hide internal directories.