MONGOC_AUTO_ENCRYPTION_OPTS_NEW(3)
π MONGOC_AUTO_ENCRYPTION_OPTS_NEW(3) π
okay bestie, this is the libmongoc manual page for MONGOC_AUTO_ENCRYPTION_OPTS_NEW(3) β and it's giving βtiny constructor, big main-character energyβ β¨. We're making a brand-new options struct, so let's get into it π«Ά.
β¨ SYNOPSIS β¨
mongoc_auto_encryption_opts_t *
mongoc_auto_encryption_opts_new (void);
Create a new mongoc_auto_encryption_opts_t. That's literally the whole function, no cap π.
Caller must set the required options:
mongoc_auto_encryption_opts_set_keyvault_namespace()β required, bestie; you gotta call it πmongoc_auto_encryption_opts_set_kms_providers()β also required, periodt π₯
Caller may optionally set the following:
mongoc_auto_encryption_opts_set_keyvault_client()β optional πmongoc_auto_encryption_opts_set_schema_map()β optional πΈmongoc_auto_encryption_opts_set_bypass_auto_encryption()β optional π¦mongoc_auto_encryption_opts_set_extra()β optional π
This options struct is used to enable auto encryption with mongoc_client_enable_auto_encryption(). iykyk π
π RETURNS π
A new mongoc_auto_encryption_opts_t, which must be destroyed with mongoc_auto_encryption_opts_destroy(). Don't ghost the destroy call, fr fr π
π SEE ALSO π
mongoc_auto_encryption_opts_destroy()mongoc_client_enable_auto_encryption()- In-Use Encryption
π AUTHOR π
MongoDB, Inc
πΈ COPYRIGHT πΈ
2009-present, MongoDB, Inc.
okay bye bestie β this lil page is from libmongoc 2.5.6, dated Oct 09, 202, and that's the footer sign-off, periodt π
β¨
π¦ 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