providers

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSecretKeyFromSecretBinding

func GetSecretKeyFromSecretBinding(envSecretBindingStr string) (secretKey *crypto.SecretKey, err error)

func NewEnvForProvider

func NewEnvForProvider(providerName, envName string, envType environments.EnvType,
	inputs map[string][]byte, quantumSafe bool) (*environments.Environment, error)

func RegisterEnvSecretProvider

func RegisterEnvSecretProvider(name string, bind Bind, unbind UnBind, refRequired bool) error

Types

type Bind

type Bind func(skBytes []byte, inputs map[string][]byte) (ref map[string][]byte, err error)

type UnBind

type UnBind func(ref map[string][]byte) (secretKeyBytes []byte, err error)

Jump to

Keyboard shortcuts

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