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

Enable configuration of AWS credentials provider

    • 3
    • Not 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?

      How are you using Mongo? What version of the server and driver are you using?

      • MongoDB 5.0.20 deployed at Atlas (dedicated clusters)
      • MongoDB Native Node.Js driver 5.7.0 running in AWS ECS Fargate
      • MongoDB-AWS database users

      What is the feature/improvement you would like?

      We would like to be able to configure the AWS credentials provider used by the MongoDB native driver.

      What use case would this feature/improvement enable?

      We use MongoDB Atlas with AWS IAM roles as the database users of our AWS ECS Fargate container-based apps. We recently noticed connection failure (and connection pool closing) due to MongoAWSError: Could not load credentials from any providers (some moments after the failures, the connections were restored. We believe it was a glitch at AWS at that moment). Apparently, the AWS credentials provider does not retry by default. We would like to enable these retries by configuring the AWS credentials provider. However, the driver uses the AWS credentials provider with no arguments.

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            boris.figovsky@perception-point.io Boris Figovsky
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: