加载中

Elastic API 密钥

API 密钥是一种安全机制,用于对您的部署和 Elasticsearch 资源的访问进行身份验证和授权。

它们确保只有授权用户或应用程序才能通过 Elastic API 与这些资源进行交互。

例如,如果您每天从 Elasticsearch 集群中提取数据,您可以创建一个绑定到您的凭据的 API 密钥,为其配置最小权限,然后将该 API 凭据放入定时任务中。或者,您可以创建 API 密钥以自动从远程源摄取新数据,而无需人工实时交互。

根据您要使用的 API,需要创建的 API 密钥会有所不同,并且它们在不同的位置进行管理

类型 适用性 用途
Elasticsearch API 密钥 • 在包含堆栈版本化部署(包括 ECH、ECE、ECK 和自管理集群)中使用 ElasticsearchKibana API。

• 管理远程集群连接。
Serverless 项目 API 密钥 使用 Elasticsearch ServerlessKibana Serverless API。
Elastic Cloud API 密钥 • 使用 Elastic CloudElastic Cloud Serverless API 管理您的 Elastic Cloud 组织、Elastic Cloud 托管部署以及 Serverless 项目。

使用 Elasticsearch ServerlessKibana Serverless API。使用 Elastic Cloud 密钥进行项目级 API 访问,允许您创建能够与多个项目交互的密钥,并从 Elastic Cloud 控制台集中管理 API 访问。
Elastic Cloud Enterprise API 密钥 使用 Elastic Cloud Enterprise API 管理您的 Elastic Cloud Enterprise 平台和部署。
© . This website operates independently and is not affiliated with or endorsed by Elasticsearch B.V. All brand names, logos, and trademarks are the property of their respective owners.