Connections > MongoDB V2 connection properties
  

MongoDB V2 connection properties

When you create a MongoDB V2 connection, you must configure the connection properties.
The following table describes the MongoDB V2 connection properties:
Property
Description
Connection Name
The name of the connection.
Each connection name must be unique within the organization. Connection names can contain alphanumeric characters, spaces, and the following special characters: _ . + -,
Maximum length is 255 characters.
Description
Description of the connection. Maximum length is 4000 characters.
Type
The MongoDB v2 connection type.
Runtime Environment
Name of the runtime environment where you want to run the tasks.
You can specify a Secure Agent or serverless runtime environment.
Host
Node name or IP address of the primary shard in the MongoDB cluster.
Service Record Lookup Enabled
The connection format to indicate that the hostname corresponds to a DNS Service Record Lookup.
It enables the connector to query the DNS to construct the available server list that runs MongoDB instances.
Select this checkbox if the host name corresponds to a DNS SRV record. Port is not considered if this checkbox is selected.
Port
MongoDB server port number. Default is 27017.
Authentication
Authentication method to access the MongoDB resources.
Choose one of the following authentication methods:
  • - Username and Password. Uses user name and password credentials to connect to the MongoDB server.
  • - X.509. Uses X.509 certificate to connect to the MongoDB server.
User Name
User name to access the MongoDB server.
Password
Password corresponding to the user name to access the MongoDB server.
SSL KeyStore File Path
The absolute path of the keystore file in the Secure Agent machine that contains the keys and certificates required to establish a secure communication.
Ensure that you download the certificates and place them in the Secure Agent machine before you specify this parameter.
For the serverless runtime environment, specify the following certificate path in the serverless agent directory:
/home/cldagnt/SystemAgent/serverless/configurations/ssl_store/<keystore_filename>
For more information, see the Configure SSL for the serverless runtime environment chapter.
Applicable if you select X.509 authentication type.
SSL KeyStore Password
The password for the keystore file required for secure communication.
Applicable if you select X.509 authentication type.
Database Name
Name of the MongoDB database to connect to.
Additional Properties
Optional properties that you can configure to read data from or write data to Amazon DocumentDB and other non-SSL MongoDB deployments.
For information about the additional properties that you can configure, see the Additional connection properties chapter.
To specify more than one property, separate the key-value pairs with an ampersand.
You can specify the properties in the following format:
propertyName1=<value1>&propertyName2=<value2>