Ubuntu Manpages

  • client_encryption: A mongoc_client_encryption_t.
  • kms_provider: A string identifying the Key Management Service (KMS) provider used to encrypt the datakey (e.g. "aws" or "local").
  • opts: A mongoc_client_encryption_datakey_opts_t
  • keyid: Optional. An uninitialized bson_value_t set to the UUID (BSON binary subtype 0x04) of the newly created key. Must be freed by bson_value_destroy().
  • error: Optional. A bson_error_t.

Returns true if successful. Returns false and sets error otherwise.

SEE ALSO:

mongoc_client_encryption_datakey_opts_t



MongoDB, Inc

2017-present, MongoDB, Inc