Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultSecretRefKeyName = "_value"
DefaultSecretRefKeyName is the default key if secretKeyRef.key is not given
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetSecretRequest ¶
type GetSecretRequest struct {
Name string `json:"name"`
Metadata map[string]string `json:"metadata"`
}
GetSecretRequest describes a get secret request from a secret store.
type GetSecretResponse ¶
GetSecretResponse describes the response object for a secret returned from a secret store
type SecretStore ¶
type SecretStore interface {
// Init authenticates with the actual secret store and performs other init operation
Init(metadata Metadata) error
// GetSecret retrieves a secret using a key and returns a map of decrypted string/string values
GetSecret(req GetSecretRequest) (GetSecretResponse, error)
}
SecretStore is the interface for a component that handles secrets management
Source Files
¶
Click to show internal directories.
Click to hide internal directories.