Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-6141

Allow users to provide custom AWS configuration

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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
    • Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      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@mongodb.com Durran Jordan
            Reporter:
            aditi.khare@mongodb.com Aditi Khare (Inactive)
            Bailey Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: