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: a mongoc_client_encryption_opts_t. that's her. that's the opts.
  • client: a mongoc_client_t to use for key lookup and creation. and listen β€” this client MUST outlive any mongoc_client_encryption_t configured to use it with mongoc_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 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