mongoose
mongoose copied to clipboard
feat: expose a ClientEncryption object on encrypted Models
Summary
With the changes in this PR, users will be able to obtain a ClientEncryption object from encrypted models. This allows users to use the Key Management API to manage data keys for their encrypted collections.
Additionally, I've added miscellaneous other integration tests that confirm that the encryption implementation works with other mongoose features, namely auto index creation and auto collection creation.