vault

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

copied from github.com/vault/command/kv_helpers

Index

Constants

View Source
const (
	TokenAuth = "Token"
	RoleAuth  = "vaultRole"
)

Variables

View Source
var (
	Auth        string
	Addr        string
	Client      *api.Client
	Token       string
	RoleID      string
	SecretID    string
	SecretCache *cache.Cache
	CacheTTL    = 5 * time.Minute
)

Functions

func GetVaultSecret

func GetVaultSecret(path string, key string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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