1MONGOC_AUTO_ENCRYPTION_MOOPNTGSO_CS_EATU_TKOE_YE_lNViCAbRUmYLoPTnT_gICoOLcNI_EONPTT_SP_OSOELT(_3K)EY_VAULT_CLIENT_POOL(3)
2
3
4

NAME

6       mongoc_auto_encryption_opts_set_key_vault_client_pool - mongoc_auto_en‐
7       cryption_opts_set_keyvault_client_pool()
8

SYNOPSIS

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

PARAMETERS

20opts: A mongoc_auto_encryption_opts_t.
21
22pool: 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  mon‐
26         goc_client_pool_t  which  has  been  enabled  to  use it through mon‐
27         goc_client_pool_enable_auto_encryption().
28

SEE ALSO

30mongoc_client_pool_enable_auto_encryption()
31
32mongoc_auto_encryption_opts_set_keyvault_client()
33
34       • The guide for Using Client-Side Field Level Encryption
35

AUTHOR

37       MongoDB, Inc
38
40       2017-present, MongoDB, Inc
41
42
43
44
451.17.6                MONGOC_AUTOJ_uEnNC0R3Y,PT2I0O2N1_OPTS_SET_KEY_VAULT_CLIENT_POOL(3)
Impressum