mongoc_client_encryption_get_keys(3)

MONGOC_CLIENT_ENCRYPTION_GET_KEYS(3) libmongoc MONGOC_CLIENT_ENCRYPTION_GET_KEYS(3)

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.

February 10, 2026 1.30.7