vault

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient() (*api.Client, error)

NewClient is a constructor for Vault client.

Types

type AuthMethod

type AuthMethod string

AuthMethod is vault authentication method. See: https://www.vaultproject.io/docs/auth/index.html

const (
	// AuthMethodToken represents authentication method using static token.
	// See: https://www.vaultproject.io/docs/auth/token.html
	AuthMethodToken AuthMethod = "token"

	// AuthMethodKubernetes represents authentication method using kubernetes.
	// See: https://www.vaultproject.io/docs/auth/kubernetes.html
	AuthMethodKubernetes AuthMethod = "kubernetes"
)

func (*AuthMethod) UnmarshalText

func (m *AuthMethod) UnmarshalText(text []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

Jump to

Keyboard shortcuts

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