vault

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultAddress = "http://127.0.0.1:8200"

Variables

This section is empty.

Functions

func CloseRenewers

func CloseRenewers()

Types

type Config

type Config struct {
	Address         string `mapstructure:"address"`
	RoleID          string `mapstructure:"role_id"`
	SecretID        string `mapstructure:"secret_id"`
	IsSecretWrapped bool   `mapstructure:"is_secret_wrapped"`
}

type Manager

type Manager interface {
	StoreKV(path string, data map[string]interface{}) error
}

func GetManager

func GetManager(ctx context.Context, config Config) (Manager, error)

Jump to

Keyboard shortcuts

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