vault

package
v0.0.0-...-4804780 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VaultRegister

type VaultRegister struct {
	SAToken      string //base64 encoded JWT Token
	K8SCACert    string //base64 encoded CA cert
	Insecure     bool
	K8SHost      string
	Mount        string //dynamically generated
	SAName       string
	Namespace    string
	Policy       []string
	VaultToken   string
	VaultAddress string
	RoleName     string
}

func (*VaultRegister) RegisterCluster

func (v *VaultRegister) RegisterCluster(skipAuth bool) (authEnabled bool, err error)

RegisterCluster will perform vault auth setup for this cluster

func (*VaultRegister) UnregisterCluster

func (v *VaultRegister) UnregisterCluster() (err error)

UnregisterCluster will disable the associated k8s backend

Jump to

Keyboard shortcuts

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