vaultmanager

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultManager added in v0.1.0

type VaultManager interface {
	GetClient() *api.Client
	WriteKVv2(ctx context.Context, mountPath, secretPath string, data map[string]interface{}) error
	ReadKVv2(ctx context.Context, mountPath, secretPath string) (map[string]any, error)
	ManageTokenLifecycle(ctx context.Context) error
}

func NewVaultManager added in v0.1.0

func NewVaultManager(cfg *api.Config) (VaultManager, error)

Jump to

Keyboard shortcuts

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