[JAVA-4690] Cache AWS Credentials Where Possible Created: 27/Jul/22  Updated: 15/Feb/23  Resolved: 19/Oct/22

Status: Closed
Project: Java Driver
Component/s: Authentication
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Unknown
Reporter: PM Bot Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2333 Cache AWS Credentials Where Possible Closed
Related
related to JAVA-4718 Depend on AWS SDK for fetching creden... Closed
Quarter: FY23Q2, FY23Q3
Upstream Changes Summary:

DRIVERS-2333:
Summary of required changes

  • Create an internal cache for fetched AWS credentials used by the driver
  • Add integration tests to verify cache usage

Additional background

Please see https://github.com/mongodb/specifications/commit/364761d3dae5e430b0812f23786b592f4bb629c1 for the specification change and https://github.com/mongodb/specifications/commit/745e486dd03f0d724c68593bf9ddb017d2d58fa6 for a follow-up to tests.

Please see https://github.com/mongodb/mongo-csharp-driver/commit/3d67e80c3553051286afed4c3e7ba7aabcf7cba3 for a reference implementation in C#.

Integration test

Drivers are expected to add an integration test as described in the specification change

Documentation Changes: Not Needed

 Description   

This ticket was split from DRIVERS-2333, please see that ticket for a detailed description.



 Comments   
Comment by Jeffrey Yemin [ 19/Oct/22 ]

This has been superseded by JAVA-4718, which added optional use of the AWS SDK (v1 or v2), which supports caching. We will not add caching to the built-in AWS credential fetching logic.

Generated at Thu Feb 08 09:02:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.