Skip to content

Commit

Permalink
chore: add cloudID and apiKey to elasticsearch scaler (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rogerio Peixoto authored Nov 22, 2022
1 parent de9796d commit 3e36b9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion content/docs/2.9/scalers/elasticsearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 3e36b9a

Please sign in to comment.