vault

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() *vault.Client

func GetCreds

func GetCreds[T any](ctx context.Context, secretPath string) (*T, error)

func Init

func Init(cfg *Config) error

Types

type Config

type Config struct {
	MountPath string
	Token     string
	Host      string
}

type VaultClient

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

Jump to

Keyboard shortcuts

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