Creates a new long-lived API key for a service account. The full key value is only returned once at creation. API keys can have optional expiration dates.
OAuth2 authentication with JWT tokens
Service account client ID
successful operation
Long-lived API key for accessing Blaxel
The date and time when the resource was created
The date and time when the resource was updated
The user or service account who created the resource
The user or service account who updated the resource
Api key
Duration until expiration. Supports formats like '30d' (30 days), '24h' (24 hours), '1w' (1 week). If not set, the API key never expires.
"30d"
Api key id, to retrieve it from the API
"ak_abc123def456"
Name for the API key
"CI/CD Pipeline Key"
User subject identifier
Subject type (user or service_account)
"user"