- A text plugin starts with its system’s plugin key, read from
WIDAR_PLUGIN_KEY. A sidecar receives one when it enrols. - It starts with
wd_plg_and is shown once, when it is made or rolled. widar keeps only a hash. - It is never an API key: it cannot read your workspace, mark through the cloud API or change anything.
{
"id": "key_5Lr8wNc2QxTj",
"object": "plugin_key",
"system_id": "sys_8Hn3vLp6YdQa",
"name": "vLLM fleet ams1",
"prefix": "wd_plg_",
"last4": "C33f",
"created_at": "2026-12-03T09:42:30Z",
"created_by": "Lena Vos",
"last_used_at": null,
"revoked_at": null
}POST/v1/plugin_keys
A restricted key for one system’s installs. Its secret is shown once.
- Who may
- Owner, Admin and Developer
- CLI
widar plugin-keys create --system-id <sys_...> --name <name>- MCP tool
create_plugin_key- Returns
- The key, and its secret (wd_plg_) shown once.
Parameters
system_idRequiredThe system its installs mark for.
nameRequiredWhere it runs, such as a fleet or a cluster. At most 80 characters.
curl -X POST https://api.widar.com/v1/plugin_keys \
-H "Authorization: Bearer $WIDAR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"system_id": "sys_8Hn3vLp6YdQa",
"name": "vLLM fleet ams1"
}'POST /v1/plugin_keys
{
"id": "key_5Lr8wNc2QxTj",
"object": "plugin_key",
"system_id": "sys_8Hn3vLp6YdQa",
"name": "vLLM fleet ams1",
"prefix": "wd_plg_",
"last4": "C33f",
"created_at": "2026-12-03T09:42:30Z",
"created_by": "Lena Vos",
"last_used_at": null,
"revoked_at": null,
"secret": "wd_plg_ptQE28XYkSjJEh2XRndeENGSTzrwJkOmfVjWC33f"
}GET/v1/plugin_keys
The restricted keys installs start with, for the workspace or one system, each shown by its start and last four characters.
- Who may
- Owner, Admin, Compliance, Developer and Viewer
- CLI
widar plugin-keys list [--system-id <sys_...>]- MCP tool
list_plugin_keys- Returns
- The plugin keys, never their secrets: name, system, created by and when, last used, revoked.
Parameters
system_idOnly this system’s keys.
curl -X GET "https://api.widar.com/v1/plugin_keys?system_id=sys_8Hn3vLp6YdQa" \
-H "Authorization: Bearer $WIDAR_API_KEY"GET /v1/plugin_keys
POST/v1/plugin_keys/{plugin_key_id}/roll
Replace a plugin key’s secret. Installs started with the old secret stop at their next start.
- Who may
- Owner, Admin and Developer
- CLI
widar plugin-keys roll <plugin_key_id>- MCP tool
roll_plugin_key- Returns
- The key with its new secret, shown once.
Parameters
plugin_key_idRequiredThe key. In the path.
curl -X POST https://api.widar.com/v1/plugin_keys/key_5Lr8wNc2QxTj/roll \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/plugin_keys/{plugin_key_id}/roll
POST/v1/plugin_keys/{plugin_key_id}/revoke
Stop a plugin key at once. Installs using it can no longer fetch their marking settings, and the policy decides what happens to their outputs.
- Who may
- Owner, Admin and Developer
- CLI
widar plugin-keys revoke <plugin_key_id>- MCP tool
revoke_plugin_key- Returns
- The key, revoked.
Parameters
plugin_key_idRequiredThe key. In the path.
curl -X POST https://api.widar.com/v1/plugin_keys/key_5Lr8wNc2QxTj/revoke \
-H "Authorization: Bearer $WIDAR_API_KEY"POST /v1/plugin_keys/{plugin_key_id}/revoke