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

Add MRAP support for CRT s3transfer integration #9078

Open
wants to merge 2 commits into
base: v2
Choose a base branch
from
Open

Conversation

nateprewitt
Copy link
Member

This PR (previously #9076) patches a gap with SigV4a signing for the CRT S3 transfer manager. On performance-optimized instance types [list], the CRT will auto-enable itself for all high-level aws s3 commands. This may lead to signature mismatches for Multi-Region Access Points backed by buckets in other regions.

Customers currently encountering this issue can bypass the problem by setting preferred_transfer_client to classic (docs). That mitigation will no longer be needed after this patch is merged.

@@ -156,6 +160,26 @@ def _assert_exected_s3express_request(
awscrt.auth.AwsSigningAlgorithm.V4_S3EXPRESS
)

def _assert_exected_mrap_request(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
def _assert_exected_mrap_request(
def _assert_expected_mrap_request(

This is a copy paste from other mis-named tests, so fine to clean this up at another time.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do a quick follow up PR cleaning up everything so we don't lose it if one of these needs to get reverted.

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