vault

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Read(path string) (*hvault.Secret, error)
	Write(path string, data map[string]interface{}) (*hvault.Secret, error)
	Delete(path string) (*hvault.Secret, error)
	Address() string
}

func New

func New(address, role string, skipVerify bool, options ...Option) (Client, error)

type Option

type Option func(*vaultClient) error

Option is a type of options for Vault Client

func Logger

func Logger(logger logr.Logger) Option

Logger will add logger to Vault client

Jump to

Keyboard shortcuts

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