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.
Types ¶
This section is empty.