vault

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultService

type VaultService struct {
	Client *api.Client
	Config *types.VaultConfig
	// contains filtered or unexported fields
}

func NewVaultService

func NewVaultService(config *types.VaultConfig, log hclog.Logger) *VaultService

func (*VaultService) DoRequest

func (vs *VaultService) DoRequest(method string, path string, body interface{}) (*http.Response, error)

Execute request to the configured Vault server

func (*VaultService) Login

func (vs *VaultService) Login() (api.Secret, error)

Gets and sets the initial access token from Vault

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL