Breaking: Remove support for specifying MONGODB-AWS authentication properties explicitly

XMLWordPrintableJSON

    • Hide

      DRIVERS-3131:
      Summary of necessary driver changes

      • Drivers must remove the ability to specify AWS credentials in the URI or MongoClient options. Drivers may decide to deprecate options in the URI or client options in the manner of their choosing.
      • AWS_ACCESS_KEY_ID must no longer be valid as a username in the URI or as a client option and must raise an exception if provided when the auth mechanism is MONGODB-AWS
      • AWS_SECRET_ACCESS_KEY must no longer be valid as a password in the URI or as a client option and must raise an exception if provided when the auth mechanism is MONGODB-AWS
      • AWS_SESSION_TOKEN must be deprecated in a minor version as an auth mechanism property and then removed in a major.

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

      Context for other referenced/linked tickets

      •  
      Show
      DRIVERS-3131 : Summary of necessary driver changes Drivers must remove the ability to specify AWS credentials in the URI or MongoClient options. Drivers may decide to deprecate options in the URI or client options in the manner of their choosing. AWS_ACCESS_KEY_ID must no longer be valid as a username in the URI or as a client option and must raise an exception if provided when the auth mechanism is MONGODB-AWS AWS_SECRET_ACCESS_KEY must no longer be valid as a password in the URI or as a client option and must raise an exception if provided when the auth mechanism is MONGODB-AWS AWS_SESSION_TOKEN must be deprecated in a minor version as an auth mechanism property and then removed in a major. Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed) Drivers must sync the legacy auth spec tests (connection-string.yml/json) to https://github.com/mongodb/specifications/commit/2a836942e9d474e0441e97abbfe79890a09a0822 Drivers must remove Case 1 for the MONGODB-AWS prose tests where URI credentials take precedence over other AWS authentication methods. Drivers must update their usage of aws_tester.py in drivers-evergreen-tools to include the --nouri CLI option. Context for other referenced/linked tickets  
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-3131, please see that ticket for a detailed description.

            Assignee:
            Unassigned
            Reporter:
            TPM Jira Automations Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: