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 BulkGetSecretRequest ¶ added in v1.0.0
BulkGetSecretRequest describes a bulk get secret request from a secret store
type BulkGetSecretResponse ¶ added in v1.0.0
BulkGetSecretResponse describes the response object for all the secrets returned from a secret store
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) // BulkGetSecrets retrieves all secrets in the store and returns a map of decrypted string/string values BulkGetSecret(req BulkGetSecretRequest) (BulkGetSecretResponse, error) }
SecretStore is the interface for a component that handles secrets management
Click to show internal directories.
Click to hide internal directories.