Loading

Manage API keys

Elastic Stack ECE ECK Elastic Cloud Hosted Self Managed Serverless

API keys are security mechanisms used to authenticate and authorize access to your deployments and Elasticsearch resources.

They ensure that only authorized users or applications interact with these resources through Elastic APIs.

For example, if you extract data from an Elasticsearch cluster on a daily basis, you might create an API key tied to your credentials, configure it with minimum access, and then put the API credentials into a cron job. Or you might create API keys to automate ingestion of new data from remote sources, without a live user interaction.

Depending on the APIs you want to use, the API keys to create are different, and managed at different locations: