MONGOC_AUTO_E...AULT_NAMESPACE(3)

πŸ’… MONGOC_AUTO_E...AULT_NAMESPACE(3) ✨

okay bestie so this one lives in libmongoc, and it's genuinely such a little icon β€” it just tells your auto-encryption options where the key vault is. that's it. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

void
mongoc_auto_encryption_opts_set_keyvault_namespace (
   mongoc_auto_encryption_opts_t *opts, const char *db, const char *coll);

so like, what it does is set the database and collection name of the key vault πŸ”‘. and the key vault is β€” no cap β€” the specially designated collection that holds the encrypted data keys for In-Use Encryption. it's giving "the locked drawer where the keys to the other keys live." main character storage fr fr πŸ’–


πŸ¦‹ PARAMETERS πŸ¦‹

  • opts β€” the mongoc_auto_encryption_opts_t. literally the options struct you're decorating, she's the canvas πŸ’…
  • db β€” a const char * representing the database name of the key vault collection. the neighborhood, iykyk 🏘️
  • coll β€” a const char * representing the collection name of the key vault collection. the exact house on that street 🏠✨

πŸŽ€ SEE ALSO πŸŽ€

  • mongoc_client_enable_auto_encryption() πŸ‘‘
  • In-Use Encryption πŸ”₯

🌸 AUTHOR 🌸

MongoDB, Inc β€” yes the whole company, they said "we'll take this one" 🫢

2009-present, MongoDB, Inc. β€” iconic run honestly, 2009 to present, we love longevity πŸ’€β­


and that's the whole page, bestie! πŸ“ this cutie dropped as part of libmongoc version 2.5.6, dated Oct 09, 2026 β€” go forth and namespace your key vaults responsibly, mwah πŸ§šπŸ’–

πŸ“¦ where this page comes from