Allow FLE against non-enterprise servers with bypassQueryAnalysis

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.4.1
    • Affects Version/s: None
    • Component/s: Field Level Encryption
    • None
    • Needed
    • Hide

      The second argument of the Mongo() constructor now accepts bypassQueryAnalysis and encryptedFieldsMap options, matching the Node.js driver.

      Show
      The second argument of the Mongo() constructor now accepts bypassQueryAnalysis and encryptedFieldsMap options, matching the Node.js driver.

      Ensure that setting bypassQueryAnalysis: true allows using FLE 2 against non-enterprise servers, as bypassAutoEncryption: true currently does.

      https://github.com/mongodb-js/devtools-connect/blob/0435d256ddf3f35e514ca0302ac46b32a2b375bb/src/connect.ts#L198

      https://github.com/mongodb-js/mongosh/blob/f96c8ab927ea4351d40d9781241097e3624006db/packages/shell-api/src/helpers.ts#L664 (also add encryptedFieldsMap here)

              Assignee:
              Alena Khineika
              Reporter:
              Anna Henningsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: