Skip to content

Azure Cosmos DB 凭据(Azure Cosmos DB credentials)#

你可以使用以下凭据验证以下节点:

🌐 You can use these credentials to authenticate the following nodes:

先决条件(Prerequisites)#

支持的身份验证方法(Supported authentication methods)#

  • API 密钥

Refer to Azure Cosmos DB's API documentation for more information about the service.

使用 API 密钥(Using API Key)#

要配置此凭据,你需要:

🌐 To configure this credential, you'll need:

  • 一个 账户:你的 Azure Cosmos DB 账户的名称。
  • A Key:你的 Azure Cosmos DB 账户的密钥。在 Azure 门户中选择 概览 > 密钥 查看你的 Azure Cosmos DB。你可以使用任一账户密钥来完成此操作。
  • 一个 数据库:要连接的 Azure Cosmos DB 数据库的名称。

有关更详细的步骤,请参阅 获取你的主密钥 | Microsoft

🌐 Refer to Get your primary key | Microsoft for more detailed steps.

常见问题(Common issues)#

以下是 Azure Cosmos DB 凭据的已知常见错误和问题。

🌐 Here are the known common errors and issues with Azure Cosmos DB credentials.

Need admin approval#

When attempting to add credentials for a Microsoft360 or Microsoft Entra account, users may see a message when following the procedure that this action requires admin approval.

This message will appear when the account attempting to grant permissions for the credential is managed by a Microsoft Entra. In order to issue the credential, the administrator account needs to grant permission to the user (or "tenant") for that application.

The procedure for this is covered in the Microsoft Entra documentation.