MONGOC_CLIENT...EYVAULT_CLIENT(3)
π MONGOC_CLIENT...EYVAULT_CLIENT π
ok bestie, this is a libmongoc page β like, the mongoc_client_encryption_opts_set_keyvault_client() era of your life. full glow-up energy, let's go β¨
β¨ SYNOPSIS β¨
void
mongoc_client_encryption_opts_set_keyvault_client (
mongoc_client_encryption_opts_t *opts,
mongoc_client_t *keyvault_client);
So here's the vibe π«Ά β this one sets the mongoc_client_t you're gonna use during key creation and key lookup for encryption and decryption. and like, plot twist, it can be either a single-threaded or a multi-threaded client (aka a client you got from a mongoc_client_pool_t). iconic, flexible, we love options π
π PARAMETERS π
opts: amongoc_client_encryption_opts_t. that's her. that's the opts.client: amongoc_client_tto use for key lookup and creation. and listen β this client MUST outlive anymongoc_client_encryption_tconfigured to use it withmongoc_client_encryption_new(). no cap, this is the important part π if your client dips before your encryption object does, that's a whole mess. main character client has GOT to stay alive, periodt π
π¦ SEE ALSO π¦
mongoc_client_encryption_new()- In-Use Encryption
πΈ AUTHOR πΈ
MongoDB, Inc π«‘ the icons themselves.
π COPYRIGHT π
Copyright 2009-present, MongoDB, Inc. all rights reserved, slay π
and that's the whole page, bestie!!! πβ¨ this little gem is 2.5.6, dated Oct 09, 2026, brought to you by the fine folks at MongoDB, Inc β go forth and encrypt responsibly, ilysm π«Άπ
π
π¦ 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