New feature? Get User API

It would be useful to have a simple rest endpoint to echo what is known about the current user.

Something like this from x-pack:
https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-user.html

But ideally, it would work for all realms

Just found it :wink:
_opendistro/_security/authinfo