aws

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

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(ctx context.Context, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL