Elasticsearch scaler issue - IRSA Auth #6535
-
Hi, I am currently exploring the possibility of using keda to escalate based on an opensearch query. Main blocker right now is that I am not using plain auth, I'm trying to use IRSA to authenticate the OS query and its not working, or the elasticsearch scaler does not support it. I have a working microservice which uses IRSA to access the opensearch domain, that part works fine. Here's what I tried.
I'm getting this error: Am I missing something or elasticsearch scaler does not support this yet? Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The Elastisearch scaler does not currently work with a workload identity |
Beta Was this translation helpful? Give feedback.
You can only authenticate by using a username/password or apiKey/cloudID if you’re using using ElasticSearch on Elastic Cloud. (https://keda.sh/docs/2.16/scalers/elasticsearch/#authentication-parameters)
When using addresses, both username and password must be provided. You can't provide both cloud config and endpoint addresses.