pub unsafe extern "C" fn mongocrypt_setopt_use_need_kms_credentials_state(
crypt: *mut mongocrypt_t,
)
Expand description
@brief Opt-into handling the MONGOCRYPT_CTX_NEED_KMS_CREDENTIALS state.
If set, before entering the MONGOCRYPT_CTX_NEED_KMS state, contexts may enter the MONGOCRYPT_CTX_NEED_KMS_CREDENTIALS state and then wait for credentials to be supplied through @ref mongocrypt_ctx_provide_kms_providers.
A context will only enter MONGOCRYPT_CTX_NEED_KMS_CREDENTIALS if an empty document was set for a KMS provider in @ref mongocrypt_setopt_kms_providers.
@param[in] crypt The @ref mongocrypt_t object to update