secretsprovider

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const MaxSecretSize = 500 * 1024 // 500KB

MaxSecretSize is the maximum byte length allowed for a secret

Variables

This section is empty.

Functions

func FromMap

func FromMap(m map[string][]byte) session.Attachable

func NewSecretProvider

func NewSecretProvider(store secrets.SecretStore) session.Attachable

func NewStore

func NewStore(files []Source) (secrets.SecretStore, error)

Types

type Source

type Source struct {
	ID       string
	FilePath string
	Env      string
}

Jump to

Keyboard shortcuts

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