Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(id-auth-sra): sigv4a compatibility for id-auth sra #6342

Merged
merged 3 commits into from
Aug 1, 2024

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Aug 1, 2024

requires smithy-lang/smithy-typescript#1357

  • Enables sigv4a regionSet behavior for the ID&Auth signer by adding a new (pseudo) signer AwsSdkSigV4ASigner extends AwsSdkSigV4Signer. This correctly passes the resolved signingRegionSet to the pre-existing signerConstructor instance, which is the adaptive SignatureV4MultiRegion for sigv4a services.

  • centralizes detection of the sigv4a customization. For existing clients there is a 3-client hard-coded inclusion list. For future clients it will fall back to the spec's trait-based detection.

  • reduces the list of legacy auth services to just (1), namely S3. We will handle S3-Express customization in the next PR: chore(id-auth-sra): S3 Express compatibility with ID & Auth SRA #6346

@kuhe kuhe requested a review from a team as a code owner August 1, 2024 01:35
@kuhe kuhe marked this pull request as draft August 1, 2024 01:36
@kuhe kuhe force-pushed the chore/id-auth-3 branch 4 times, most recently from 1946a8d to 385a81d Compare August 1, 2024 16:03
@kuhe kuhe force-pushed the chore/id-auth-3 branch 4 times, most recently from 2f3a0cd to 98740af Compare August 1, 2024 18:02
@kuhe kuhe marked this pull request as ready for review August 1, 2024 18:03
@kuhe kuhe merged commit 9836a09 into aws:main Aug 1, 2024
5 checks passed
@kuhe kuhe deleted the chore/id-auth-3 branch August 1, 2024 22:40
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants