1MONGOC_AUTO_ENCRYPTION_OPTS_MSOENTG_OKCE_YA_lUViTAbOUm_LoETnN_gCCoRLcYIPETNITO(N3_)OPTS_SET_KEY_VAULT_CLIENT(3)
2
3
4
6 void
7 mongoc_auto_encryption_opts_set_keyvault_client (
8 mongoc_auto_encryption_opts_t *opts, mongoc_client_t *client);
9
10 Set an optional separate mongoc_client_t to use during key lookup for
11 automatic encryption and decryption. Only applies to automatic encryp‐
12 tion on a single-threaded mongoc_client_t.
13
15 • opts: A mongoc_auto_encryption_opts_t.
16
17 • client: A mongoc_client_t to use for key queries. This client should
18 not have automatic encryption enabled, as it will only execute find
19 commands against the key vault collection to retrieve keys for auto‐
20 matic encryption and decryption. This client MUST outlive any
21 mongoc_client_t which has been enabled to use it through
22 mongoc_client_enable_auto_encryption().
23
24 SEE ALSO:
25 mongoc_client_enable_auto_encryption()
26
27 mongoc_auto_encryption_opts_set_keyvault_client_pool()
28
29 In-Use Encryption
30
31
33 MongoDB, Inc
34
36 2017-present, MongoDB, Inc
37
38
39
40
411.25.1 MONGOCN_oAvUT0O8_,EN2C0R2Y3PTION_OPTS_SET_KEY_VAULT_CLIENT(3)