MONGOC_AUTO_EN...TED_FIELDS_MAP(3)
π MONGOC_AUTO_EN...TED_FIELDS_MAP(3) π
Okay bestie, this is the libmongoc manual page for mongoc_auto_encryption_opts_set_encrypted_fields_map β the header is serving truncated-title realness, but the function is the whole main character. Itβs new in version 1.22.0, and itβs all about handing over an encrypted fields map. π
β¨ SYNOPSIS β¨
void
mongoc_auto_encryption_opts_set_encrypted_fields_map (
mongoc_auto_encryption_opts_t *opts, const bson_t *encrypted_fields_map);
New in version 1.22.0.
πΈ PARAMETERS πΈ
optsβ themongoc_auto_encryption_opts_tπ«Άencrypted_fields_mapβ abson_twhere the keys are collection namespaces and the values are encrypted fields documents. No cap.
Supplying an encrypted_fields_map provides more security than relying on an encryptedFields obtained from the server. It protects against a malicious server advertising a false encryptedFields. π‘οΈβ¨ Thatβs the whole point, bestie.
The schema map does not apply to collections encrypted with: Queryable Encryption. See mongoc_auto_encryption_opts_set_schema_map() instead. π
π¦ SEE ALSO π¦
mongoc_client_enable_auto_encryption()- In-Use Encryption
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
Thatβs the page, bestie. Itβs from the libmongoc manual, version 2.5.6, dated Oct 09, 202 β yes, the footer date looks chopped, but thatβs literally what it says, not me being chaotic π. Copyright remains 2009-present, MongoDB, Inc. Now go encrypt those fields and slay πβ¨
π¦ 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