mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
CreateApiKey response now returns the base64 encoded credentials (#77351)
This PR adds a new "encoded" field to the response of CreateApiKey API. It is the base64 encoded value of "id:api_key". The field is added for the convenience of the API consumers so that no extra computation/encoding is needed. Sometimes the extra computation/encoding can be error prone or not feasible for simple clients. Resolves: #50235
This commit is contained in:
parent
88fcb67839
commit
00c3b5c8d9
11 changed files with 84 additions and 79 deletions
|
@ -36,5 +36,5 @@ expiration.
|
|||
--------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[{api}-response]
|
||||
--------------------------------------------------
|
||||
<1> the API key that can be used to authenticate to Elasticsearch.
|
||||
<1> the API key credentials that can be used to authenticate to Elasticsearch.
|
||||
<2> expiration if the API keys expire
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue