Provided by: libmongoc-doc_1.23.1-1build1_all
NAME
mongoc_auto_encryption_opts_set_key_vault_client_pool - mongoc_auto_encryption_opts_set_keyvault_client_pool()
SYNOPSIS
void mongoc_auto_encryption_opts_set_keyvault_client_pool ( mongoc_auto_encryption_opts_t *opts, mongoc_client_pool_t *pool); Set an optional separate mongoc_client_pool_t to use during key lookup for automatic encryption and decryption. Only applies to automatic encryption on a mongoc_client_pool_t. It is invalid to set this for automatic encryption on a single-threaded mongoc_client_t.
PARAMETERS
• opts: A mongoc_auto_encryption_opts_t. • pool: A mongoc_client_pool_t to use for key queries. This client pool should not have automatic encryption enabled, as it will only execute find commands against the key vault collection to retrieve keys for automatic encryption and decryption. This pool MUST outlive any mongoc_client_pool_t which has been enabled to use it through mongoc_client_pool_enable_auto_encryption(). SEE ALSO: mongoc_client_pool_enable_auto_encryption() mongoc_auto_encryption_opts_set_keyvault_client() The guide for Using Client-Side Field Level Encryption
AUTHOR
MongoDB, Inc
COPYRIGHT
2017-present, MongoDB, Inc 1.23.1 MONGOC0AUTO0ENCRYPTION_OPTS_SET_KEY_VAULT_CLIENT_POOL(3)