mongoc_auto_encryption_opts_set_key_vault_namespace
mongoc_auto_encryption_opts_set_keyvault_namespace()
Synopsis
void mongoc_auto_encryption_opts_set_keyvault_namespace ( mongoc_auto_encryption_opts_t *opts, const char *db, const char *coll);
Set the database and collection name of the key vault. The key vault is the specially designated collection containing encrypted data keys for Client-Side Field Level Encryption.
Parameters
- opts: The mongoc_auto_encryption_opts_t
- db: A const char * representing the database name of the key vault collection.
- coll: A const char * representing the collection name of the key vault collection.
SEE ALSO:
mongoc_client_enable_auto_encryption()
The guide for Using Client-Side Field Level Encryption
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
Jan 19, 2023 1.23.2 libmongoc