IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Get all API keys

edit

Retrieves the metadata for all of the API keys that the user generated.

Request

edit

GET /api/v1/users/auth/keys

Responses

edit
200

(ApiKeysResponse) The metadata for the API keys is retrieved.

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

edit
curl -XGET {{hostname}}/api/v1/users/auth/keys \
-u $CLOUD_USER:$CLOUD_KEY