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

Add codec_options to ClientEncryption class

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.9
    • Encryption
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: