awssdk

package
v0.1.102 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package awssdk is the opt-in bridge to the AWS SDK for Go v2.

The commons-db AWS clients are SDK-free; their built-in credentials chain covers connection keys, environment, AssumeRole, web identity (IRSA) and IMDSv2. Importing this package and calling Install adds the SDK's default chain — shared profiles, SSO and credential_process — for connections that carry no static keys. Config returns a full SDK config for callers that still drive SDK service clients themselves. This is the only package in commons-db that links the AWS SDK.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(ctx context.Context, conn *connection.AWSConnection) (aws.Config, error)

Config returns an SDK config for the connection: its region, TLS setting, static keys (else the SDK default chain) and AssumeRole. Call it on a hydrated connection.

func Install

func Install()

Install registers the SDK default credentials chain with the connection package. Call it once at startup; nothing registers it implicitly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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