Create service key
Changed onCreate a new service role key for admin operations.
WARNING: Service keys bypass all RLS policies! Store securely and NEVER expose in frontend code.
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/projects/{id}/service-keys
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Project ID
Request body
Example request
{
"name": "admin-dashboard",
"permissions": [
"functions.invoke",
"locks.manage"
]
}Response
Service key created - save the key_value immediately!
Example response
{
"permissions": [
"*"
]
}Changes
- ○
the endpoint scheme security
ProjectAccessTokenwas added to the API
- ○
- ▲
added the new path request parameter
id - ▲
the response's body type changed from no type to
objectfor status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status
- ▲