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
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
MongoDB V2
Use Secret Vault
Stores sensitive credentials for this connection in the secrets manager that is configured for your organization.
This property appears only if secrets manager is set up for your organization.
This property is not supported by Data Ingestion and Replication.
When you enable the secret vault in the connection, you can select which credentials that the Secure Agent retrieves from the secrets manager. If you don't enable this option, the credentials are stored in the repository or on a local Secure Agent, depending on how your organization is configured.
For information about how to configure and use a secrets manager, see Secrets manager configuration.
Runtime Environment
Name of the runtime environment where you want to run tasks.
Select a Secure Agent or a 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>
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 that you want to connect to.
Additional Properties
Optional properties that you can configure to read data from or write data to MongoDB.
For information about the additional properties that you can configure, see Additional connection properties.
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>
¹ Applies only to mappings in advanced mode.