MONGOC_AUTO_EN...KEY_EXPIRATION(3)
π MONGOC_AUTO_EN...KEY_EXPIRATION(3) π
okay so bestie, welcome to this libmongoc page β the title is long and has main character energy, and I'm highkey obsessed with how lowkey this function is. This is literally the function that sets the data encryption key cache expiration on your auto-encryption options, and honestly? It ate π. No cap, this is the whole read.
β¨ SYNOPSIS β¨
void
mongoc_auto_encryption_opts_set_key_expiration (
mongoc_auto_encryption_opts_t *opts, uint64_t cache_expiration_ms);
π PARAMETERS π
optsβ themongoc_auto_encryption_opts_t, aka your options struct. Hand it over, bestie π .cache_expiration_msβ the data encryption key cache expiration time in milliseconds. It defaults to60,000β iconic. And fr fr,0means "never expire" β it's giving "no bedtime", periodt.
π SEE ALSO: π
mongoc_client_enable_auto_encryption()- In-Use Encryption
π«Ά AUTHOR π«Ά
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
okay that's the whole page, bestie π«Ά this one is from libmongoc version 2.5.6, dated Oct 09, 202 β and yes the footer runs right into MONGOC_AUTO_EN...KEY_EXPIRATION(3), formatting collab, iykyk π. Vibe check: slay responsibly and go set those options π
π¦ 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