expiresAt may extend this to at most two years from now. A user may hold at most 10 active keys (a pair counts as two).pk_test_*/sk_test_*; production mints pk_live_*/sk_live_*.Authorization: Bearer <Supabase JWT> obtained from POST /v1/auth/verify-otp. Partner sk_*/pk_* keys are not accepted.curl --location '/v1/api-keys' \
--header 'Content-Type: application/json' \
--data '{
"expiresAt": "2027-07-06T00:00:00.000Z",
"name": "my-backend"
}'{
"createdAt": "2019-08-24T14:15:22.123Z",
"expiresAt": "2019-08-24T14:15:22.123Z",
"isActive": true,
"publicKey": {
"id": "string",
"key": "string",
"keyPrefix": "string",
"name": "string",
"type": "public"
},
"secretKey": {
"id": "string",
"key": "string",
"keyPrefix": "string",
"name": "string",
"type": "public"
}
}