Hi,
I am creating a custom plugin in React JS.
The plugin has UI, which communicates with an external backend/server managed by me.
When user logs into Kibana, I want to pass those credentials (which was used to log in) to my backend server, wherein it will create an Elasticsearch client using the received credentials.
Is it possible?
I also looked into using tokens and api keys for communicating with ES without basic authentication. But creating a token or api key also requires the credentials.
How can I get the credentials passed to backend or is there any other way of accessing them?
Or how can I create api key/token using any inbuild Kibana function... rather then exposing the creds?
Thanks