Method SetKmsConnector
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.Encryption.dll
SetKmsConnector(IKmsConnector)
Sets the KMS connector used to open connections to KMS hosts. If not set, the driver connects directly to the KMS host.
public void SetKmsConnector(IKmsConnector kmsConnector)
Parameters
kmsConnectorIKmsConnectorThe KMS connector used to open connections to KMS hosts.