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

Add codec_options to ClientEncryption class

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.9
    • Affects Version/s: None
    • Component/s: Encryption
    • Labels:
      None

      The ClientEncryption class has two methods which require a user configurable CodecOptions:

      1. ClientEncryption.encrypt which accepts a BSON encodable value.
      2. ClientEncryption.decrypt which decodes the decrypted BSON value.

      We can either:

      • add a codec_options argument to each method
      • add a codec_options argument to the ClientEncryption class

      I propose we add codec_options to the class to be more consistent with MongoClient/Database/Collection class.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: