Microsoft Azure Cosmos DB: Add Database Connection

To define a new connection from the Connection parameter in a Cosmos DB format:

  • Select Add Database Connection. See database-specific parameters below, as well as the section Adding a Database Connection in a Workspace in Using Database Connections The new connection can be made visible only to the current user, or can be shared among multiple users.
Note  To select an existing, previously defined connection, see the section Reusing a Database Connection in Using Database Connections

Name

Enter a name for the new connection.

Connection Parameters

Cosmos DB Account ID

This value is the same value as the dataset. It can be the name of the account (for example contoso), or the URL for the account (for example, https://contoso.documents.azure.com).

Paths in the URL are ignored.

Master Key

The Master Key is required for the Cosmos DB reader to execute queries. The Master Key can be obtained from your Cosmos DB administrator.

Note that Resource tokens are not supported.

Database

In Cosmos DB, Collections are organized under Databases. This parameter specifies the Database(s) that contains the Collections from which to read.

The value(s) must correspond to the id values of Databases.