MONGOC_AUTO_EN...Y_VAULT_CLIENT(3)
okay so bestie, welcome to the libmongoc manual page for MONGOC_AUTO_EN...Y_VAULT_CLIENT(3) π
β¨ β the ellipsis in the name is doing main character energy, but the function itself is here to help your automatic encryption setup look up keys with a separate client. Let's get into it.
β¨ SYNOPSIS β¨
void
mongoc_auto_encryption_opts_set_keyvault_client (
mongoc_auto_encryption_opts_t *opts, mongoc_client_t *client);
What it does: this sets an optional separate mongoc_client_t to use during key lookup for automatic encryption and decryption. It only applies to automatic encryption on a single-threaded mongoc_client_t β that's the vibe check, no cap. π«Ά
π PARAMETERS π
optsβ amongoc_auto_encryption_opts_t. That's the options baddie you're configuring. πclientβ amongoc_client_tto use for key queries. This client should not have automatic encryption enabled, as it will only executefindcommands against the key vault collection to retrieve keys for automatic encryption and decryption. This client MUST outlive anymongoc_client_twhich has been enabled to use it throughmongoc_client_enable_auto_encryption(). Like, literally must outlive it β no cap, bestie. π
π SEE ALSO π
mongoc_client_enable_auto_encryption()mongoc_auto_encryption_opts_set_keyvault_client_pool()- In-Use Encryption
π AUTHOR π
MongoDB, Inc β the icon, the legend. π
π COPYRIGHT π
2009-present, MongoDB, Inc.
okay that's the whole page, bestie π«Ά β this libmongoc gem is version 2.5.6, dated Oct 09, 202 (yes, the footer literally trails off mid-date, iconic π), and the page header is MONGOC_AUTO_EN...Y_VAULT_CLIENT(3). mwah π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms