1MONGOC_AUTO_ENCRYPTION_OPTS_MSOENTG_OKCE_YA_lUViTAbOUm_LoETnN_gCCoRLcYIPETNITO(N3_)OPTS_SET_KEY_VAULT_CLIENT(3)
2
3
4
6 mongoc_auto_encryption_opts_set_key_vault_client - mongoc_auto_encryp‐
7 tion_opts_set_keyvault_client()
8
10 void
11 mongoc_auto_encryption_opts_set_keyvault_client (
12 mongoc_auto_encryption_opts_t *opts, mongoc_client_t *client);
13
14 Set an optional separate mongoc_client_t to use during key lookup for
15 automatic encryption and decryption. Only applies to automatic encryp‐
16 tion on a single-threaded mongoc_client_t.
17
19 · opts: A mongoc_auto_encryption_opts_t.
20
21 · client: A mongoc_client_t to use for key queries. This client should
22 not have automatic encryption enabled, as it will only execute find
23 commands against the key vault collection to retrieve keys for auto‐
24 matic encryption and decryption. This client MUST outlive any mon‐
25 goc_client_t which has been enabled to use it through mon‐
26 goc_client_enable_auto_encryption().
27
29 · mongoc_client_enable_auto_encryption()
30
31 · mongoc_auto_encryption_opts_set_keyvault_client_pool()
32
33 · The guide for Using Client-Side Field Level Encryption
34
36 MongoDB, Inc
37
39 2017-present, MongoDB, Inc
40
41
42
43
441.17.4 MONGOCF_eAbUT0O4_,EN2C0R2Y1PTION_OPTS_SET_KEY_VAULT_CLIENT(3)