Security

The Security tab contains the authentication fields to select the authentication type from the drop down list.

Field Module Property? Description
Credential Type Yes Select the Credential authentication to verify the user name and password when connecting to a MongoDB database. Select the Credential Type from the drop down list.
  • None
  • CR Credential
  • SHA Credential
  • SHA256 Credential
  • Kerberos
UserName Yes Specify the user name you created in a MongoDB database. Available only when the CR Credential, SHA Credential, SHA256 Credential, or Kerberos is selected.
Password Yes Specify the password that is used to access the database. Available only when the CR Credential, SHA Credential, or SHA256 Credential is selected.
Authentication Database Yes The database to authenticate the user added to a database. The UserName and Authentication Database serve as a unique identifier for a user.
SSL Yes Select this check box if you want to use the SSL authentication.
Note: Use X509 certificate to connect to Mongo server 4.0 running on windows.
Key File Yes Specify the key file that your deployment uses to verify the user and the server. Available only when the SSL check box is selected.
Key Password Yes Specify the key password. Available only when the SSL check box is selected.
Trust File Yes Specify the trust file with CA. Available only when the SSL check box is selected.
Trust Password Yes Specify the trust password. Available only when the SSL check box is selected.
Allow Invalid Hostnames Yes When check box is selected, MongoDB disables the validation of the hostnames in SSL certificates, allowing MongoDB to connect to client if the hostname in their certificates do not match the specified hostname.
X509 Credential Yes Select this check box if you want to use X509 credential to connect to the MongoDB server. Available only when the SSL check box is selected and Credential Type is selected as None.
Note: The SSL authentication will work one-way when the Key File and Key Password field are empty.