.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "MONGOC_AUTO_ENCRYPTION_OPTS_SET_KMS_CREDENTIAL_PROVIDER_CALLBACK" "3" "May 07, 2024" "1.27.1" "libmongoc" .sp New in version 1.23.0. .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX 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); .EE .UNINDENT .UNINDENT .sp Set the user\-provided callback to provide KMS credentials on\-demand when they are needed. .SH PARAMETERS .INDENT 0.0 .IP \(bu 2 \fBopts\fP \- The options object to update. .IP \(bu 2 \fBfn\fP \- The provider callback to set on the options object. May be \fBNULL\fP to clear the callback. Refer to: \fI\%mongoc_kms_credentials_provider_callback_fn\fP .IP \(bu 2 \fBuserdata\fP \- An arbitrary pointer that will be passed along to the callback function when it is called by libmongoc. .UNINDENT .sp \fBSEE ALSO:\fP .INDENT 0.0 .INDENT 3.5 \fI\%mongoc_client_encryption_opts_set_kms_credential_provider_callback ()\fP .UNINDENT .UNINDENT .SH AUTHOR MongoDB, Inc .SH COPYRIGHT 2017-present, MongoDB, Inc .\" Generated by docutils manpage writer. .