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