I’m setting up Client-Side Field Level Encryption (CSFLE) with automatic encryption in C#.
In our case, the Users collection should have certain fields (like Name and Email) encrypted. This works fine using schema validation with automatic encryption.
The issue is that when automatic encryption is enabled on the MongoClient, we run into the limitations of Unsupported Operations for Automatic Encryption — even on collections that don’t require encryption.
Question:
Is it possible to enable automatic encryption only for a specific collection (e.g., Users) while still using a single MongoClient instance?