Allow users to provide custom AWS configuration

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.15.0
    • Affects Version/s: None
    • Component/s: None
    • 3
    • Hide

      DRIVERS-2903:
      Summary of necessary driver changes

      • For drivers that want to implement this, update the AWS auth prose tests and FLE prose tests to adhere to the changes in https://github.com/mongodb/specifications/commit/57435ebd7aa3a38f1403054bb70ce8e7304345b5
      • Allow users to provide for AWS authentication in the driver an AWS_CREDENTIAL_PROVIDER auth mechanism property that complies with the languages AWS SDK interface.
      • Allow for users to provide a custom credentialProviders option for KMS requests in both ClientEncryption options and AutoEncryption options that respects the requirements in the linked commit above.

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      Context for other referenced/linked tickets

      •  
      Show
      DRIVERS-2903 : Summary of necessary driver changes For drivers that want to implement this, update the AWS auth prose tests and FLE prose tests to adhere to the changes in https://github.com/mongodb/specifications/commit/57435ebd7aa3a38f1403054bb70ce8e7304345b5 Allow users to provide for AWS authentication in the driver an AWS_CREDENTIAL_PROVIDER auth mechanism property that complies with the languages AWS SDK interface. Allow for users to provide a custom credentialProviders option for KMS requests in both ClientEncryption options and AutoEncryption options that respects the requirements in the linked commit above. Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed) https://github.com/mongodb/specifications/commit/57435ebd7aa3a38f1403054bb70ce8e7304345b5 Context for other referenced/linked tickets  
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a... Node Driver user using AWS authentication
      I want... to provide an AWS sdk "provider" to the client,
      So that... I can use any AWS SDK supported authentication mechanism without requiring driver changes.

      Acceptance Criteria

      Implementation Requirements

      • Allow users to provide a 'provider function' as a MongoClient authentication option
        •  See usage in AWSTemporaryCredentialProvider class 
           

      Testing Requirements

      • unit test, spec test sync, etc

      Documentation Requirements

      • DOCSP ticket, API docs, etc

      Follow Up Requirements

      • additional tickets to file, required releases, etc

            Assignee:
            Durran Jordan
            Reporter:
            Aditi Khare (Inactive)
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: