Documentation
¶
Overview ¶
Package provider defines the interface and registry for secret providers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Provider ¶
type Provider interface {
// Name returns the name of the provider
Name() string
// Fetch fetches secrets from the provider based on the configuration
// config contains provider-specific configuration fields (e.g., path, region, endpoint, etc.)
Fetch(ctx context.Context, mapID string, config map[string]interface{}, keys map[string]string) ([]KeyValue, error)
}
Provider is the interface that all secret providers must implement
Click to show internal directories.
Click to hide internal directories.