secrets

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendType

type BackendType int
const (
	UnknownBackend BackendType = iota
	VaultBackend
	JSONBackend
	EnvVarBackend
	FileTreeBackend
)

type Fetcher

type Fetcher struct {
	Backend                BackendType
	Mapping                string
	JSONFile, FileTreeRoot string
	VaultOptions           config.VaultConfig
	// contains filtered or unexported fields
}

func (*Fetcher) AWS

func (f *Fetcher) AWS(ac *config.AWSConfig) error

func (*Fetcher) Database

func (f *Fetcher) Database(dc *config.DBConfig) error

func (*Fetcher) GitHub

func (f *Fetcher) GitHub(gc *config.GitHubConfig) error

func (*Fetcher) Quay

func (f *Fetcher) Quay(qc *config.QuayConfig) error

type SecretsClient

type SecretsClient interface {
	Get(id string) ([]byte, error)
	Fill(s interface{}) error
}

Jump to

Keyboard shortcuts

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