Ensure FLE2 options are passed through to driver

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: Field Level Encryption
    • None
    • 3
    • Iteration Barnacle, Iteration Cuttlefish
    • Needed
    • Hide

      KeyVault.createKey() accepts an additional overload, KeyVault.createKey(kms, options) (not the same as KeyVault.createKey(kms, masterKey)).

      Options has the properties:

      • masterKey
      • keyAltNames
      • keyMaterial

      ClientEncryption.encrypt() has an additional overload, ClientEncryption.encrypt(keyId, value, options). The options object has the same properties as the corresponding driver method, notably, it includes queryType, contentionFactor and indexKeyId that are passed through to the driver.

      Show
      KeyVault.createKey() accepts an additional overload, KeyVault.createKey(kms, options) (not the same as KeyVault.createKey(kms, masterKey)). Options has the properties: masterKey keyAltNames keyMaterial ClientEncryption.encrypt() has an additional overload, ClientEncryption.encrypt(keyId, value, options). The options object has the same properties as the corresponding driver method, notably, it includes queryType, contentionFactor and indexKeyId that are passed through to the driver.

      • bypassQueryAnalysis and encryptedFieldsMap in AutoEncryptionOpts (handled by MONGOSH-1109)
      • queryType and contentionFactor in EncryptOpts
      • keyMaterial in DataKeyOpts

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

              Created:
              Updated:
              Resolved: