Pass Kibana log in credentials to external backend server

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

Hi,

Can anyone give some input on this?

Thanks

Hi,

Is there a way to get the current logged in user's credentials?

Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.