Provided by: libmongoc-doc_2.2.1-1_all bug

SYNOPSIS

          mongoc_cursor_t *
          mongoc_client_encryption_get_keys (mongoc_client_encryption_t *client_encryption,
                                             bson_error_t *error);

       Get all the key documents in the key vault collection.

PARAMETERS

client_encryption: A mongoc_client_encryption_t <>.

       • error: Optional. bson_error_t <https://www.mongoc.org/libbson/current/bson_error_t.html>.

RETURNS

       Returns the result of the internal find command if successful. Returns NULL and sets error otherwise.

       See also:
          mongoc_client_encryption_t <>

Author

       MongoDB, Inc

Copyright

       2009-present, MongoDB, Inc.

2.2.1                                             Dec 11, 2025              MONGOC_CLIENT_ENCRYPTION_GET_KEYS(3)