vaulter

package
v0.0.0-...-9c723d5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vaulter

type Vaulter struct {
	// contains filtered or unexported fields
}

func New

func New(addr string) (*Vaulter, error)

func (*Vaulter) Addr

func (v *Vaulter) Addr() string

func (*Vaulter) LoginAppRole

func (v *Vaulter) LoginAppRole(appRolePath, roleID, secretID string) error

func (*Vaulter) ReadSecret

func (v *Vaulter) ReadSecret(path string) (*vault.Secret, error)

func (*Vaulter) RenewLease

func (v *Vaulter) RenewLease(leaseId string, increment int) (*vault.Secret, error)

func (*Vaulter) RetrieveData

func (v *Vaulter) RetrieveData(path string) (map[string]interface{}, error)

func (*Vaulter) SetToken

func (v *Vaulter) SetToken(token string)

func (*Vaulter) Token

func (v *Vaulter) Token() string

func (*Vaulter) WriteData

func (v *Vaulter) WriteData(path string, data map[string]interface{}) error

Jump to

Keyboard shortcuts

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