[DRIVERS-2475] Consider Using AWS SDK for Auth Created: 17/Oct/22  Updated: 14/Nov/22

Status: Implementing
Project: Drivers
Component/s: Authentication
Fix Version/s: None

Type: Task Priority: Unknown
Reporter: Steve Silvester Assignee: Steve Silvester
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split to CDRIVER-4516 Consider Using AWS SDK for Auth Backlog
split to CXX-2609 Consider Using AWS SDK for Auth Backlog
split to GODRIVER-2625 Consider Using AWS SDK for Auth Backlog
split to RUBY-3169 Consider Using AWS SDK for Auth Backlog
split to RUST-1529 Consider Using AWS SDK for Auth Blocked
split to CSHARP-4390 Consider Using AWS SDK for Auth Closed
split to JAVA-4796 Consider Using AWS SDK for Auth Closed
split to MOTOR-1061 Consider Using AWS SDK for Auth Closed
split to NODE-4781 Consider Using AWS SDK for Auth Closed
split to PHPLIB-1032 Consider Using AWS SDK for Auth Closed
split to PYTHON-3496 Consider Using AWS SDK for Auth Closed
Related
is related to DRIVERS-1405 For MONGODB-AWS, follow AWS-SDK conve... Backlog
Driver Changes: Needed
Downstream Changes Summary:
Driver Compliance:
Key Status/Resolution FixVersion
CDRIVER-4516 Backlog
CXX-2609 Backlog
CSHARP-4390 Won't Do
GODRIVER-2625 Backlog
JAVA-4796 Duplicate
NODE-4781 Done
MOTOR-1061 Duplicate
PYTHON-3496 Works as Designed
PHPLIB-1032 Won't Do
RUBY-3169 Backlog
RUST-1529 Blocked
SWIFT-1675 Won't Do

 Description   

Summary

AWS recommends using an SDK to "take care of some of the heavy lifting necessary in successfully making API calls, including authentication, retry behavior, and more".

_We should consider adopting SDKs for drivers where one exists for the programming language, especially in light of new features like DRIVERS-1746(https://jira.mongodb.org/browse/DRIVERS-1746).

A recommended pattern would be to not further enhance the driver implementation, and take an optional dependency on the AWS SDK.  If the SDK is available, use it, otherwise fallback to the existing driver implementation.

Motivation

Who is the affected end user?

Drivers would have less implementation work and users would get a standard behavior for their programming language.

How does this affect the end user?

They will be able to use the full extend of the SDK capability, but may require some changes if the SDK behavior does not match the behavior of the driver previously.



 Comments   
Comment by Githook User [ 01/Nov/22 ]

Author:

{'name': 'Steven Silvester', 'email': 'steven.silvester@ieee.org', 'username': 'blink1073'}

Message: DRIVERS-2475 Consider Using AWS SDK for Auth (#1332)
Branch: master
https://github.com/mongodb/specifications/commit/a1bd61e617e2d931d8009f8e03e59287f9b37390

Generated at Thu Feb 08 08:25:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.