Skip to content

Elastic Security 凭证#

¥Elastic Security credentials

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

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

先决条件#

¥Prerequisites

¥Create an Elastic Security account.

¥Deploy an application.

支持的身份验证方法#

¥Supported authentication methods

  • 基本身份验证

¥Basic auth

  • API 密钥

¥API Key

相关资源#

¥Related resources

有关服务的更多信息,请参阅 Elastic Security 文档

¥Refer to Elastic Security's documentation for more information about the service.

使用基本身份验证#

¥Using basic auth

要配置此凭据,你需要:

¥To configure this credential, you'll need:

  • 用户名:对于你登录 Elasticsearch 的用户账户。

¥A Username: For the user account you log into Elasticsearch with.

  • 密码:对于你登录 Elasticsearch 的用户账户。

¥A Password: For the user account you log into Elasticsearch with.

  • 你的 Elasticsearch 应用基本 URL(也称为 Elasticsearch 应用终结点):

¥Your Elasticsearch application's Base URL (also known as the Elasticsearch application endpoint):

  1. 在 Elasticsearch 中,选择“管理此部署”选项。

    ¥In Elasticsearch, select the option to Manage this deployment. 2. 在“应用”部分,复制 Elasticsearch 应用的端点。

    ¥In the Applications section, copy the endpoint of the Elasticsearch application. 3. 将此内容添加为 n8n 中的基本 URL。

    ¥Add this in n8n as the Base URL.

Custom endpoint aliases

如果你将 自定义端点别名 添加到部署中,请使用新的端点更新你的 n8n 凭据基本 URL。

¥If you add a custom endpoint alias to a deployment, update your n8n credential Base URL with the new endpoint.

使用 API 密钥#

¥Using API key

要配置此凭据,你需要:

¥To configure this credential, you'll need:

  • API 密钥:对于你登录 Elasticsearch 的用户账户。更多信息请参阅 Elasticsearch 的 创建 API 密钥文档 文档。

¥An API Key: For the user account you log into Elasticsearch with. Refer to Elasticsearch's Create API key documentation for more information.

  • 你的 Elasticsearch 应用基本 URL(也称为 Elasticsearch 应用终结点):

¥Your Elasticsearch application's Base URL (also known as the Elasticsearch application endpoint):

  1. 在 Elasticsearch 中,选择“管理此部署”选项。

    ¥In Elasticsearch, select the option to Manage this deployment. 2. 在“应用”部分,复制 Elasticsearch 应用的端点。

    ¥In the Applications section, copy the endpoint of the Elasticsearch application. 3. 将此内容添加为 n8n 中的基本 URL。

    ¥Add this in n8n as the Base URL.