Skip to content

Integrate identity chain into SDK client construction - #771

Open
arandito wants to merge 5 commits into
smithy-lang:developfrom
arandito:default-chain-integration
Open

Integrate identity chain into SDK client construction#771
arandito wants to merge 5 commits into
smithy-lang:developfrom
arandito:default-chain-integration

Conversation

@arandito

Copy link
Copy Markdown
Contributor

Description

This PR integrates the new IdentityChain into generated AWS clients. A new AwsIdentityIntegration builds the default chain into aws_credentials_identity_resolver at client setup.

The integration also pins the identity resolver in the config's deep-copy memo ({id(resolver): resolver}) so it's shared by reference. Every operation deep-copies the config to isolate per-call plugin mutations, which would otherwise duplicate the resolver on each call; pinning it keeps the chain built once per client and reused across every operation.

Important

This branch builds on top of #758. Only the latest commit is the change under review here. Every earlier commit belongs to #758.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@arandito
arandito requested a review from a team as a code owner August 17, 2026 07:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants