[CDRIVER-4365] Add Queryable Encryption behavior for CreateCollection() and Collection.Drop() Created: 24/Apr/22  Updated: 28/Oct/23  Resolved: 07/May/22

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 1.22.0, 1.22.0-beta0

Type: Task Priority: Unknown
Reporter: PM Bot Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by CDRIVER-4378 Ensure Queryable Encryption Create-fr... Closed
Issue split
Related
Epic Link: FLE 2.0 Support
Quarter: FY23Q2
Upstream Changes Summary:

DRIVERS-2284:
Please see the following specification changes:

Please see https://github.com/mongodb/specifications/commit/8f6f4a3a1841c0301ca057e96afca6f4f46711a2 for the latest revision of the fle2-CreateCollection.yml and fle2-EncryptedFields-vs-EncryptedFieldsMap.yml tests.

Drivers using libmongocrypt 1.5.0-alpha2 or later should sync the fle2-CreateCollection test to this PR: https://github.com/mongodb/specifications/pull/1230

  • Sync the fle2-CreateCollection.yml CSFLE test.
  • Add encryptedFieldsMap option to AutoEncryptionOpts
  • Add encryptedFields options to CreateCollection and Collection.Drop()
  • Update behavior of CreateCollection and Collection.Drop() when the target collection has encryptedFields.

 Description   

This ticket was split from DRIVERS-2284, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 07/May/22 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-4365 support encryptedFields in collection create and drop (#983)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/cf730fc041257c177f207929703d343b5e01826e

Generated at Wed Feb 07 21:20:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.