v1
latestOpenAPI 3.0.32026-07-17183583.3 KBApiKeys
Derive Token
Mints a short-lived JWT or Macaroon token from an API key. Works with both issued and imported keys. The derived token inherits the permissions of the parent API key.
POST /v2alpha1/admin/apiKeys:derive
{
"credential": "eyJhbGciOiJFZERTQSI...",
"ttl": "1h"
}
post/v2alpha1/admin/apiKeys:derive
Request body
Response
A successful response.