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

Incorrect parameter in create_data_key example

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.4
    • Affects Version/s: 4.3.3
    • Component/s: Client Side Encryption
    • None

      In our documentation for the create_data_key for CSFLE the example uses keyAltNames instead of the correct key_alt_names parameter:

      File and line in master branch at time of writing ticket: https://github.com/mongodb/mongo-python-driver/blob/master/pymongo/encryption.py/#L709

      File and line in 4.3.3 branch: https://github.com/mongodb/mongo-python-driver/blob/4.3.3/pymongo/encryption.py/#L606

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            brett.gray@mongodb.com Brett Gray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: