secret

package
v1.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ProtocolCredential = "credential://"
View Source
const ProtocolSecret = "secret://"

Variables

This section is empty.

Functions

This section is empty.

Types

type Vault

type Vault interface {
	//Secret returns a secret given a key. Return an empty string if a secret is not found
	Secret(ctx context.Context, key string) string
	GetConfig(ctx context.Context, key string) string
}

Jump to

Keyboard shortcuts

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