Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-1209

Ensure FLE2 options are passed through to driver

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: None
    • Component/s: Field Level Encryption
    • Labels:
      None
    • 3
    • 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.
    • Iteration Barnacle, Iteration Cuttlefish

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

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: