Clone an API key
- POST also PUT /_security/api_key/clone
Create a copy of an existing API key with a new ID. The cloned key inherits the role descriptors of the source key. This is intended for applications (such as Kibana) that need to create API keys on behalf of a user using an existing API key credential, since derived API keys (API keys created by API keys) are not otherwise supported.
Required authorization
- Cluster privileges clone_api_key
Response
application/json