vault

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSecret

func GetSecret(client *api.Client, name string, version int) (string, error)

func NewClient

func NewClient() (*api.Client, error)

func ReadSecretMetadata added in v0.3.0

func ReadSecretMetadata(client *api.Client, secret string) (*api.KVMetadata, error)

Types

type SecretKey added in v0.3.0

type SecretKey struct {
	Path string
	Key  string
}

func GetAllSecrets added in v0.3.0

func GetAllSecrets(client *api.Client) ([]SecretKey, error)

func (*SecretKey) String added in v0.3.0

func (s *SecretKey) String() string

Jump to

Keyboard shortcuts

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