-
Notifications
You must be signed in to change notification settings - Fork 181
RUST-1529 Use AWS SDK for sigv4 signing #1438
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
base: main
Are you sure you want to change the base?
RUST-1529 Use AWS SDK for sigv4 signing #1438
Conversation
…redential_types::Credential
…ngo-rust-driver into RUST-1529-no-ff
@@ -117,27 +126,34 @@ async fn authenticate_stream_inner( | |||
let creds = get_aws_credentials(credential).await.map_err(|e| { | |||
Error::authentication_error(MECH_NAME, &format!("failed to get creds: {e}")) | |||
})?; | |||
let aws_credential = AwsCredential::from_sdk_creds(creds); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a previous PR, we introduced from_sdk_creds(...)
to convert from aws_credential_types::Credentials
to locally defined AwsCredential
type. Now that we've converted the rest of the authentication to use the AWS SDK, we no longer need this conversion
@@ -223,7 +223,7 @@ buildvariants: | |||
|
|||
- name: aws-auth | |||
display_name: "AWS Authentication" | |||
patchable: false | |||
# patchable: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will uncomment once PR is approved
Replace existing implementation for getting sigv4 signing using the AWS SDK.
Testing
Clone https://github.com/isabelatkinson/drivers-evergreen-tools/tree/local-aws and run the following commands:
Previously
Work to be done for RUST-1529