secrets

package
v0.0.0-...-d9b5379 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SecretProviderEnv               = "environment"
	SecretProviderAwsSecretsManager = "aws-secrets-manager"
	SecretProviderHashicorpVault    = "hashicorp-vault"
)

Variables

This section is empty.

Functions

func GetSecret

func GetSecret(key string) (string, error)

Types

type SecretProvider

type SecretProvider interface {
	GetSecret(string) (string, error)
}

func NewEnvSecretProvider

func NewEnvSecretProvider() (SecretProvider, error)

Jump to

Keyboard shortcuts

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