Skip to content

RUST-1529 Use AWS SDK to get credentials #1435

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

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
bb11533
Wip - add path for authentication using MongoDB URI behind aws-sdk-au…
JamieTsai1024 Jul 23, 2025
3d78f80
Get auth credentials through env variables using AWS SDK
JamieTsai1024 Jul 23, 2025
1f4c590
test URI/environment variable credentials
isabelatkinson Jul 23, 2025
6fe85bc
Add conditional imports for aws_config modules behind aws-sdk-auth fe…
JamieTsai1024 Jul 23, 2025
b6e1d9a
Try to pin aws_sdk dependency versions to fix tests
JamieTsai1024 Jul 23, 2025
18c3bc8
Merge branch 'main' into RUST-1529-no-ff
JamieTsai1024 Jul 24, 2025
915b087
Remove aws-sdk-auth ff
JamieTsai1024 Jul 25, 2025
f5a65af
fix dependencies for MSRV
isabelatkinson Jul 25, 2025
e2a5080
Merge branch 'main' into RUST-1529-no-ff
JamieTsai1024 Jul 25, 2025
cf3f3a5
Fix lint on AwsCredential unused fields
JamieTsai1024 Jul 25, 2025
8df943f
Fix lint
JamieTsai1024 Jul 25, 2025
6b9d129
Uncomment tests
JamieTsai1024 Jul 25, 2025
e99fff2
Revert comments in config.yml
JamieTsai1024 Jul 25, 2025
73d3a82
Clean up comments
JamieTsai1024 Jul 25, 2025
dd94b48
Remove unused imports and replace expect
JamieTsai1024 Jul 26, 2025
e10a3ba
Make dependencies optional and comment back patchable: false
JamieTsai1024 Jul 26, 2025
f365624
Move get credentials logic to a public method
JamieTsai1024 Jul 26, 2025
408ca2f
Change return type of get_aws_credentials from AwsCredential to aws_c…
JamieTsai1024 Jul 26, 2025
f528c00
Fix lint and imports
JamieTsai1024 Jul 26, 2025
678cdcb
Move import behind aws-auth feature flag
JamieTsai1024 Jul 26, 2025
90d5156
Add logs
JamieTsai1024 Jul 27, 2025
eac9bcf
Add logs
JamieTsai1024 Jul 28, 2025
cb26899
Add default-https-client and rt-tokio to aws-config dependencies
JamieTsai1024 Jul 28, 2025
725d373
Comment out tests for credential caching
JamieTsai1024 Jul 28, 2025
b4c06e8
Merge branch 'main' into RUST-1529-no-ff
JamieTsai1024 Jul 29, 2025
46e171d
Update Cargo.lock
JamieTsai1024 Jul 29, 2025
0cd8dfa
Fix cargo.lock
JamieTsai1024 Jul 29, 2025
a482936
revert unneeded changes in cargo.lock
isabelatkinson Jul 29, 2025
2416644
Uncomment and add ignore tags, remove dbg logs
JamieTsai1024 Jul 30, 2025
ee4f602
Merge branch 'RUST-1529-no-ff' of https://github.com/JamieTsai1024/mo…
JamieTsai1024 Jul 30, 2025
6890532
Remove comment
JamieTsai1024 Jul 30, 2025
f2a4a62
Exclude aws-sdk-sts from Cargo.toml, add it manually during MSRV check
JamieTsai1024 Jul 30, 2025
c64a610
Move aws sdk credential getting logic after original commented impl
JamieTsai1024 Jul 30, 2025
0ad2cc4
Change return type of from_sdk_creds, add deps: to Cargo.toml
JamieTsai1024 Jul 31, 2025
c5f9109
Revert patchable: false comment
JamieTsai1024 Jul 31, 2025
85e7f88
Merge branch 'main' into RUST-1529-no-ff
JamieTsai1024 Jul 31, 2025
aaed4ca
Fix Cargo.lock version for aws-config
JamieTsai1024 Jul 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .evergreen/compile-only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ source ./.evergreen/env.sh
if [ "$RUST_VERSION" != "" ]; then
rustup toolchain install $RUST_VERSION
TOOLCHAIN="+${RUST_VERSION}"

# The MSRV resolver does not properly select an MSRV-compliant version
# for this transient dependency.
cargo add [email protected]

CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS=fallback cargo +nightly -Zmsrv-policy generate-lockfile
fi

Expand Down
Loading