diff --git a/content/docs/2.9/scalers/elasticsearch.md b/content/docs/2.9/scalers/elasticsearch.md index 88ced7960..f8f4e977e 100644 --- a/content/docs/2.9/scalers/elasticsearch.md +++ b/content/docs/2.9/scalers/elasticsearch.md @@ -42,13 +42,20 @@ triggers: ### Authentication Parameters -You can authenticate by using a username/password authentication. +You can authenticate by using a username/password or apiKey/cloudID if you're using using ElasticSearch on Elastic Cloud. **Password Authentication:** - `username` - Username to authenticate with to Elasticsearch cluster. - `password` - Password for configured user to login to Elasticsearch cluster. +**Cloud ID and API Key Authentication:** + +[Cloud ID](https://www.elastic.co/guide/en/cloud/current/ec-cloud-id.html) and API Key can be used for Elastic Cloud Service. + +- `cloudID` - CloudID to connect with ElasticSearch on Elastic Cloud. +- `apiKey` - API key to authenticate with ElasticSearch on Elastic Cloud. + ### Example Here is an example of how to deploy a scaled object with the `elasticsearch` scale trigger which uses `TriggerAuthentication`.