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

Fix sigv4-s3express position in auth_scheme_options #3498

Merged

Conversation

ysaito1001
Copy link
Contributor

@ysaito1001 ysaito1001 commented Mar 19, 2024

Motivation and Context

Fixes an S3-related bug introduced when s3 Express was added

Description

This PR fixes a bug where s3 Express auth flow was incorrectly used when no auth schemes were available for an endpoint. This use case was observed in test settings and manifested itself as a confusing behavior.

To address this issue, the fix ensures that an auth scheme for S3 express will be registered after that for sigv4 has been registered.

Testing

Added an integration test s3_express_auth_flow_should_not_be_reached_with_no_auth_schemes

Checklist

  • I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

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

Copy link

A new doc preview is ready to view.

Copy link

A new doc preview is ready to view.

@ysaito1001 ysaito1001 marked this pull request as ready for review March 20, 2024 01:23
@ysaito1001 ysaito1001 requested review from a team as code owners March 20, 2024 01:23
Copy link

A new doc preview is ready to view.

Copy link

A new doc preview is ready to view.

@ysaito1001 ysaito1001 added this pull request to the merge queue Mar 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 20, 2024
@ysaito1001 ysaito1001 added this pull request to the merge queue Mar 20, 2024
Merged via the queue into main with commit 3e81645 Mar 20, 2024
41 checks passed
@ysaito1001 ysaito1001 deleted the ysaito/fix-s3-express-position-in-auth-scheme-options branch March 20, 2024 16:44
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.

4 participants