MONGOC_AUTO_EN...VIDER_CALLBACK(3)
π MONGOC_AUTO_EN...VIDER_CALLBACK(3) π
This is from the libmongoc manual, bestie. π«Ά
New in version 1.23.0.
So basically: this sets the user-provided callback that supplies KMS credentials on-demand whenever theyβre needed. Itβs giving βcredentials, but make it on-demand.β β¨
β¨ SYNOPSIS β¨
void
mongoc_auto_encryption_opts_set_kms_credential_provider_callback(
mongoc_auto_encryption_opts_t *opts,
mongoc_kms_credentials_provider_callback_fn fn,
void *userdata);
π PARAMETERS π
optsβ the options object youβre updating. Thatβs the assignment. πfnβ the provider callback to set on the options object. It may beNULLto clear the callback. For the callback-type deets, refer to:mongoc_kms_credentials_provider_callback_fn. πuserdataβ an arbitrary pointer. libmongoc passes it along to the callback function when the callback is called by libmongoc. No extra meaning, just your pointer riding shotgun. π«Ά
π SEE ALSO: π
mongoc_client_encryption_opts_set_kms_credential_provider_callback ()
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
okay thatβs the whole page, bestie π β source/version is 2.5.6, and the footer date says Oct 09, 202 (literally, donβt come for me π). Stay encrypted, stay iconic. π
β¨
π¦ 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