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

RUST-906 Add native support for AWS IAM Roles for service accounts, EKS in particular #885

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

isabelatkinson
Copy link
Contributor

No description provided.

.build()
.map_err(|e| Error::internal(format!("error initializing http client: {}", e)))?;
Ok(Self { inner })
pub(crate) struct HttpRequest {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I refactored this file to match the design of reqwest's corresponding objects -- this made it easier to support queries without needing to pass None to all the existing HTTP requests in our code and to deserialize to arbitrary types.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is way nicer, thank you.

@@ -27,6 +27,7 @@ for arg; do

source .evergreen/configure-rust.sh
rustup toolchain install nightly -c rustfmt
rustup default 1.69
Copy link
Contributor Author

Choose a reason for hiding this comment

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

temporary fix to remove CI noise

@isabelatkinson isabelatkinson marked this pull request as ready for review June 5, 2023 22:06
@isabelatkinson isabelatkinson requested a review from abr-egn June 5, 2023 22:06
Copy link
Contributor

@abr-egn abr-egn left a comment

Choose a reason for hiding this comment

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

LGTM!

.build()
.map_err(|e| Error::internal(format!("error initializing http client: {}", e)))?;
Ok(Self { inner })
pub(crate) struct HttpRequest {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is way nicer, thank you.

@isabelatkinson isabelatkinson merged commit b6344d2 into mongodb:main Jun 7, 2023
@isabelatkinson isabelatkinson deleted the aws-iam-roles branch June 21, 2023 20:12
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