MONGOC_AUTO_ENCRYPTION_OPTS_SET_KMS_CREDENTIAL_PROVIDER_CALLBACK(3)

Added in version 1.23.0.

SYNOPSIS

    void
    mongoc_auto_encryption_opts_set_kms_credential_provider_callback(
      mongoc_auto_encryption_opts_t *opts,
      mongoc_kms_credentials_provider_callback_fn fn,
      void *userdata);

Set the user-provided callback to provide KMS credentials on-demand when they are needed.

PARAMETERS

•   opts - The options object to update.

•   fn - The provider callback to set on the options object. May be NULL to clear the callback. Refer to: mongoc_kms_credentials_provider_callback_fn

•   userdata - An arbitrary pointer that will be passed along to the callback function when it is called by libmongoc.

    SEE ALSO: mongoc_client_encryption_opts_set_kms_credential_provider_callback ()

AUTHOR
MongoDB, Inc

COPYRIGHT
2009-present, MongoDB, Inc.