kv

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKVMount added in v0.3.0

func CreateKVMount(client *vault.Client, mount string, version int, description string, config vault.MountConfigOutput, options map[string]string)

func DumpKvMount

func DumpKvMount(client *vault.Client, mount string, config *vault.MountOutput) core.MountDump

func ListKvSecrets

func ListKvSecrets(client *vault.Client, mount string) []string

func RestoreKvMount

func RestoreKvMount(client *vault.Client, mount string, paths []core.PathDump)

func RestoreKvPath

func RestoreKvPath(client *vault.Client, mount string, path string, secrets []map[string]interface{})

Types

type KvSecretDump added in v0.3.0

type KvSecretDump struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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