Azure AI 搜索凭据(Azure AI Search credentials)#
你可以使用以下凭据验证以下节点:
🌐 You can use these credentials to authenticate the following nodes:
先决条件(Prerequisites)#
支持的身份验证方法(Supported authentication methods)#
此节点使用 API 密钥进行身份验证。
🌐 This node uses API key authentication.
相关资源(Related resources)#
有关该服务的更多信息,请参阅 Azure AI 搜索文档 。
🌐 Refer to Azure AI Search documentation for more information about the service.
使用 API 密钥(Using API key)#
要配置此凭据,你需要:
🌐 To configure this credential, you'll need:
- 端点:你的 Azure AI 搜索服务 URL(格式:
https://your-service.search.windows.net) - API 密钥:管理员密钥(可读写)或查询密钥(只读)
获取这些值:
🌐 To get these values:
- 在 Azure 门户 中导航到你的 Azure AI 搜索服务
- 从 概览 部分复制 URL
- 转到 设置 > 密钥 并复制: - 管理员密钥 可用于完全读写访问,或 - 查询密钥 用于只读查询
- 在 n8n 中输入以下值:
API 密钥权限
管理员密钥提供包括索引创建和删除在内的完全访问权限。查询密钥提供只读访问权限。请根据你的工作流程需求进行选择。
故障排除(Troubleshooting)#
身份验证错误(Authentication errors)#
API 密钥认证失败:
- 验证 API 密钥是否正确,且未在 Azure 门户中重新生成。
- 确认你使用管理员密钥进行写入操作(插入/更新)
- 检查密钥是否已过期或轮换。
连接问题(Connection issues)#
- 验证端点 URL 格式:
https://your-service.search.windows.net - 确认你的 Azure AI 搜索服务正在运行
- 检查网络安全规则和防火墙设置是否允许你的 n8n 实例访问