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β themongoc_auto_encryption_opts_t. literally the options struct you're decorating, she's the canvas πdbβ aconst char *representing the database name of the key vault collection. the neighborhood, iykyk ποΈcollβ aconst 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" π«Ά
π COPYRIGHT π
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
- 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