vault

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TENANT_NAMESPACE   = "tenant"
	GIT_REPO_ROOT_PATH = "git/%s/root"
	GIT_REPO_ROOT_KEY  = "access_token"
)

Variables

This section is empty.

Functions

Types

type Vault

type Vault struct {
	*vault.Client
}

func NewVault

func NewVault(cfg nautescfg.SecretRepo) (*Vault, error)

func (*Vault) GetGitRepoRootToken

func (v *Vault) GetGitRepoRootToken(ctx context.Context, name string) (string, error)

func (*Vault) Logout

func (v *Vault) Logout()

Jump to

Keyboard shortcuts

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