Skip to content

Elastic Security 凭据#

您可以使用这些凭据来验证以下节点:

前提条件#

支持的认证方法#

  • Basic auth 基本认证
  • API Key API 密钥

相关资源#

请参考 Elastic Security 的文档 了解有关服务的更多信息。

使用基本认证#

要配置此凭据,您需要:

  • 一个 Username 用户名:用于登录 Elasticsearch 的用户账户。
  • 一个 Password 密码:用于登录 Elasticsearch 的用户账户。
  • 您的 Elasticsearch 应用程序的 Base URL 基础 URL(也称为 Elasticsearch 应用程序端点):

    1. 在 Elasticsearch 中,选择 Manage this deployment 选项。
    2. Applications 部分,复制 Elasticsearch 应用程序的端点。
    3. 在 n8n 中将此端点添加为 Base URL 基础 URL

自定义端点别名

如果您向部署添加了 custom endpoint alias,请使用新端点更新您的 n8n 凭据 Base URL 基础 URL

使用 API 密钥#

要配置此凭据,您需要:

  • 一个 API Key API 密钥:用于登录 Elasticsearch 的用户账户。请参考 Elasticsearch 的 Create API key documentation 了解更多信息。
  • 您的 Elasticsearch 应用程序的 Base URL 基础 URL(也称为 Elasticsearch 应用程序端点):

    1. 在 Elasticsearch 中,选择 Manage this deployment 选项。
    2. Applications 部分,复制 Elasticsearch 应用程序的端点。
    3. 在 n8n 中将此端点添加为 Base URL 基础 URL