Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4172

[pymongocrypt] Support named KMS providers

    • Python Drivers

      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@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: