vault

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TenantNamespace             = "tenant"
	CodeHostingPlatformRootPath = "git/%s/root"
	CodeHostingPlatformRootKey  = "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