edgegate_create_api_key
Create a new API key for a workspace. The plaintext token is returned exactly once—copy it to CI secrets or local env immediately. Requires Pro tier and owner role.
Instructions
Create a new API key for this workspace. The plaintext token is returned EXACTLY ONCE in the response — copy it to your CI secrets or local env immediately. Requires Pro tier or above. Requires owner role.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>",
"name": "<name>"
},
"name": "edgegate_create_api_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable label for the key, e.g. "GitHub Actions production" — you'll need this later to identify which key to rotate or revoke. | |
| expires_at | No | Optional ISO-8601 expiry timestamp. Omit for a non-expiring key (you can always revoke it manually). | |
| workspace_id | Yes |