Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2475

Consider Using AWS SDK for Auth

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Component/s: Authentication
    • None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      CDRIVER-4516 Backlog
      CXX-2609 Backlog
      CSHARP-4390 Won't Do
      GODRIVER-2625 Backlog 2.1.0
      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
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion CDRIVER-4516 Backlog CXX-2609 Backlog CSHARP-4390 Won't Do GODRIVER-2625 Backlog 2.1.0 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

      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.

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: