I am looking for a method to login to my organizations Kibana using a Request Header rather than actually authenticating. My organization uses Cloudflare Access, which provides the header Cf-Access-Authenticated-User-Email
to our Elastic installation which is provided when an employee has successfully authenticated with our identity provider.
I've seen a few related threads to this, but would like to know if there is a way to enable this behavior without having to write a custom plugin. For example, the Elastic docs provide a method for specifying a custom http scheme, but don't seem to give a method for doing much with it.
So my question is, how can we extract this header for authentication, and create a user and put them into some type of default role?
Any ideas would be much appreciated, thank you.