vaultengine

package
v0.0.0-...-e9b8a00 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 6 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 {
	// contains filtered or unexported fields
}

Client describes the arguments that is needed to to establish a connecting to a Vault instance

func NewClient

func NewClient(addr, token string, insecure bool, namespace string) *Client

NewClient creates a instance of the VaultClient struct

func (*Client) MountpathSplitPrefix

func (client *Client) MountpathSplitPrefix(path string) (string, string, error)

func (*Client) SecretRead

func (client *Client) SecretRead(path string) map[string]interface{}

SecretRead is used for reading a secret from a Vault instance

func (*Client) SetEngineType

func (client *Client) SetEngineType(engineType string)

SetEngineType defines which vault secret engine type that is being used

func (*Client) UseEngine

func (client *Client) UseEngine(engine string)

UseEngine defines which engine the Vault client will use

Jump to

Keyboard shortcuts

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