Return API key name as part of _authenticate response #70306
Labels
>enhancement
:Security/Authentication
Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc)
Team:Security
Meta label for security team
Problem statement
When the
_authenticate
API is called using an API key, the response includes information about the user but no details about the API key itself.The API key name could be useful to get, as it can be used to identify the key without using a separate call.
Proposed solution
Return the API key
name
field as part of the_authenticate
response payload.The text was updated successfully, but these errors were encountered: