aws

package
v1.8.3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package aws wires the AWS parameter and secret adapters into a provider.Factory / provider.Registry. It builds SSM and Secrets Manager clients from the AWS config (honoring the scope's region) and hands them to the per-service adapters in the param and secret subpackages.

This package is additive: it makes the AWS provider available behind the #199 interfaces without rewiring existing commands (that migration is #204).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegistry

func NewRegistry() *provider.Registry

NewRegistry returns a provider.Registry with the AWS provider registered.

func Register

func Register(reg *provider.Registry)

Register associates the AWS Factory with provider.ProviderAWS in reg.

Types

type Factory

type Factory struct{}

Factory builds AWS-backed provider.Store values for a scope + kind.

func (Factory) Store

func (Factory) Store(ctx context.Context, scope provider.Scope, kind provider.Kind) (provider.Store, error)

Store builds a Store for the given scope and kind. It returns provider.ErrUnsupportedKind for kinds AWS does not offer.

Directories

Path Synopsis
Package infra provides AWS client initialization.
Package infra provides AWS client initialization.
Package param implements the provider.Store contract for AWS Systems Manager Parameter Store.
Package param implements the provider.Store contract for AWS Systems Manager Parameter Store.
Package secret implements the provider.Store, provider.Restorer and provider.Describer contracts for AWS Secrets Manager.
Package secret implements the provider.Store, provider.Restorer and provider.Describer contracts for AWS Secrets Manager.

Jump to

Keyboard shortcuts

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