Documentation
¶
Overview ¶
Package backend aggregates all supported backends and allow fetching secrets from them
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorBackend ¶
type ErrorBackend struct {
Error error
}
ErrorBackend links an error to its backend
func NewErrorBackend ¶
func NewErrorBackend(e error) *ErrorBackend
NewErrorBackend returns a new ErrorBackend
func (*ErrorBackend) GetSecretOutput ¶
func (b *ErrorBackend) GetSecretOutput(_ string) secret.Output
GetSecretOutput returns a the value for a specific secret
type GenericConnector ¶ added in v1.0.0
type GenericConnector struct {
Backend Backend
}
GenericConnector encapsulate all known backends
func (*GenericConnector) GetSecretOutputs ¶ added in v1.0.0
func (g *GenericConnector) GetSecretOutputs(secrets []string) map[string]secret.Output
GetSecretOutputs returns a the value for a list of given secrets of form "<secret key>"
func (*GenericConnector) InitBackend ¶ added in v1.0.0
func (g *GenericConnector) InitBackend(backendType string, backendConfig map[string]interface{})
InitBackend initialize the backend based on their configuration
Directories
¶
| Path | Synopsis |
|---|---|
|
Package akeyless allows to fetch secrets from akeyless service
|
Package akeyless allows to fetch secrets from akeyless service |
|
Package aws allows to fetch secrets from Aws SSM and Secrets Manager service
|
Package aws allows to fetch secrets from Aws SSM and Secrets Manager service |
|
Package azure allows to fetch secrets from Azure keyvault service
|
Package azure allows to fetch secrets from Azure keyvault service |
|
Package file allows to fetch secrets from JSON and YAML files
|
Package file allows to fetch secrets from JSON and YAML files |
|
Package hashicorp allows to fetch secrets from Hashicorp vault service
|
Package hashicorp allows to fetch secrets from Hashicorp vault service |
Click to show internal directories.
Click to hide internal directories.