metadata
title: Azure Cosmos DB credentials
description: >-
Documentation for the Azure Cosmos DB credentials. Use these credentials to
authenticate Azure Cosmos DB in n8n, a workflow automation platform.
contentType:
- integration
- reference
Azure Cosmos DB credentials
You can use these credentials to authenticate the following nodes:
Prerequisites
- Create an Azure subscription.
- Create an Azure Cosmos DB account.
Supported authentication methods
- API Key
Related resources
Refer to Azure Cosmos DB's API documentation for more information about the service.
Using API Key
To configure this credential, you'll need:
- An Account: The name of your Azure Cosmos DB account.
- A Key: A key for your Azure Cosmos DB account. Select Overview > Keys in the Azure portal for your Azure Cosmos DB. You can use either of the two account keys for this purpose.
- A Database: The name of the Azure Cosmos DB database to connect to.
Refer to Get your primary key | Microsoft for more detailed steps.
Common issues
Here are the known common errors and issues with Azure Cosmos DB credentials.
--8<-- "_snippets/integrations/builtin/credentials/microsoft-need-admin-approval.md"