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

implement sigv4 signing for s3 downloads #21956

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

Conversation

chris-smith-zocdoc
Copy link
Contributor

Fixes #21955

@chris-smith-zocdoc chris-smith-zocdoc changed the title implement sigv4 signing for s3 downloads DRAFT: implement sigv4 signing for s3 downloads Feb 14, 2025
@chris-smith-zocdoc

This comment was marked as resolved.

@chris-smith-zocdoc

This comment was marked as resolved.

@chris-smith-zocdoc chris-smith-zocdoc changed the title DRAFT: implement sigv4 signing for s3 downloads implement sigv4 signing for s3 downloads Feb 17, 2025
# and fallback to us-east-1
signing_region = request.region or aws_credentials.default_region or "us-east-1"

signer = auth.SigV4Auth(aws_credentials.creds, "s3", signing_region)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it worth supporting the old codepath under a flag (HmacV1Auth)? Not sure risky you view this change as

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.

AWS S3 download fails when using KMS encrypted objects
2 participants