1MONGOC_AUTO_ENCRYPTION_MOOPNTGSO_CS_EATU_TKOE_YE_lNViCAbRUmYLoPTnT_gICoOLcNI_EONPTT_SP_OSOELT(_3K)EY_VAULT_CLIENT_POOL(3)
2
3
4
6 mongoc_auto_encryption_opts_set_key_vault_client_pool - mongoc_auto_en‐
7 cryption_opts_set_keyvault_client_pool()
8
10 void
11 mongoc_auto_encryption_opts_set_keyvault_client_pool (
12 mongoc_auto_encryption_opts_t *opts, mongoc_client_pool_t *pool);
13
14 Set an optional separate mongoc_client_pool_t to use during key lookup
15 for automatic encryption and decryption. Only applies to automatic en‐
16 cryption on a mongoc_client_pool_t. It is invalid to set this for auto‐
17 matic encryption on a single-threaded mongoc_client_t.
18
20 • opts: A mongoc_auto_encryption_opts_t.
21
22 • pool: A mongoc_client_pool_t to use for key queries. This client pool
23 should not have automatic encryption enabled, as it will only execute
24 find commands against the key vault collection to retrieve keys for
25 automatic encryption and decryption. This pool MUST outlive any
26 mongoc_client_pool_t which has been enabled to use it through
27 mongoc_client_pool_enable_auto_encryption().
28
29 SEE ALSO:
30 mongoc_client_pool_enable_auto_encryption()
31
32 mongoc_auto_encryption_opts_set_keyvault_client()
33
34 The guide for Using Client-Side Field Level Encryption
35
36
38 MongoDB, Inc
39
41 2017-present, MongoDB, Inc
42
43
44
45
461.23.1 MONGOC_AUTOO_cEtNC2R0Y,PT2I0O2N2_OPTS_SET_KEY_VAULT_CLIENT_POOL(3)