- opts: A mongoc_auto_encryption_opts_t.
- pool: A mongoc_client_pool_t to use for key queries. This
client pool should not have automatic encryption enabled, as it
will only execute find commands against the key vault collection to
retrieve keys for automatic encryption and decryption. This pool
MUST outlive any mongoc_client_pool_t which has been enabled to use
it through mongoc_client_pool_enable_auto_encryption().
SEE ALSO:
mongoc_client_pool_enable_auto_encryption()
mongoc_auto_encryption_opts_set_keyvault_client()
In-Use Encryption
2017-present, MongoDB, Inc