Derive Token
POST/v2alpha1/admin/apiKeys:derive
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"
}
Request
Responses
- 200
- default
A successful response.
An unexpected error response.