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
25 mongoc_client_t which has been enabled to use it through
26 mongoc_client_enable_auto_encryption().
27
28 SEE ALSO:
29 mongoc_client_enable_auto_encryption()
30
31 mongoc_auto_encryption_opts_set_keyvault_client_pool()
32
33 In-Use Encryption
34
35
37 MongoDB, Inc
38
40 2017-present, MongoDB, Inc
41
42
43
44
451.24.3 MONGOCA_uAgUT1O7_,EN2C0R2Y3PTION_OPTS_SET_KEY_VAULT_CLIENT(3)