mongoc_client_encryption_encrypt_opts_set_keyid

Synopsis

void
mongoc_client_encryption_encrypt_opts_set_keyid (
   mongoc_client_encryption_encrypt_opts_t *opts, const bson_value_t *keyid);

Identifies the data key to use for encryption. This option is mutually exclusive with mongoc_client_encryption_encrypt_opts_set_keyaltname() <>.

Parameters

See also:

mongoc_client_encryption_encrypt_opts_set_keyaltname() <>

Author

MongoDB, Inc

Info

Mar 04, 2026 2.2.3 libmongoc