Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretsManagerConfig ¶
type SecretsManagerConfig struct {
// SecretID is the ARN or name of the secret in AWS Secrets Manager (required)
SecretID string `json:"secret_id" yaml:"secret_id"`
// Region is the AWS region where the secret is stored (optional)
Region string `json:"region,omitempty" yaml:"region,omitempty"`
// Endpoint is a custom endpoint URL for AWS Secrets Manager (optional, for local testing)
Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
}
SecretsManagerConfig represents the configuration for AWS Secrets Manager provider
type SecretsManagerProvider ¶
type SecretsManagerProvider struct {
// contains filtered or unexported fields
}
SecretsManagerProvider implements the provider interface for AWS Secrets Manager
func (*SecretsManagerProvider) Fetch ¶
func (p *SecretsManagerProvider) Fetch(secretContext provider.SecretContext, mapID string, config map[string]interface{}, keys map[string]string) ([]provider.KeyValue, error)
Fetch fetches secrets from AWS Secrets Manager
func (*SecretsManagerProvider) Name ¶
func (p *SecretsManagerProvider) Name() string
Name returns the provider name
Click to show internal directories.
Click to hide internal directories.