vaultv2

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 5 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 struct {
	Client *vault.Client
}

func CreateClient

func CreateClient() (*Client, error)

func CreateClientWithAppRole added in v2.3.0

func CreateClientWithAppRole(roleID, secretID string) (*Client, error)

func (*Client) GetSecret

func (vc *Client) GetSecret(path string) (map[string]interface{}, error)

func (*Client) ListSecretPath

func (vc *Client) ListSecretPath(path string) ([]string, error)

func (*Client) ReadSecret

func (vc *Client) ReadSecret(path string, field string) (string, error)

Jump to

Keyboard shortcuts

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