Provided by: libmongoc-doc_1.30.4-1ubuntu1_all 

SYNOPSIS
void
mongoc_auto_encryption_opts_set_key_expiration (
mongoc_auto_encryption_opts_t *opts, uint64_t cache_expiration_ms);
PARAMETERS
• opts: The mongoc_auto_encryption_opts_t
• cache_expiration_ms: The data encryption key cache expiration time in milliseconds. Defaults to 60,000.
0 means "never expire".
SEE ALSO:
mongoc_client_enable_auto_encryption()
In-Use Encryption
AUTHOR
MongoDB, Inc
COPYRIGHT
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_AUTO_ENCRYPTION_OPTS_SET_KEY_EXPIRATION(3)