[pymongocrypt] Support named KMS providers

XMLWordPrintableJSON

    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Pymongocrypt needs to be updated to support named KMS providers:

          return target.create_data_key(*args, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/shane/git/mongo-python-driver/pymongo/encryption.py", line 747, in create_data_key
          with _wrap_encryption_errors():
        File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/contextlib.py", line 155, in __exit__
          self.gen.throw(typ, value, traceback)
        File "/Users/shane/git/mongo-python-driver/pymongo/encryption.py", line 104, in _wrap_encryption_errors
          raise EncryptionError(exc) from None
      pymongo.errors.EncryptionError: unknown kms_provider: aws:name1
      

      This will unblock PYTHON-4112.

              Assignee:
              Shane Harvey
              Reporter:
              Shane Harvey
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: