wafle_auth_keys_create
Create narrowly-scoped wafle API keys for onboarding users, integrations, or agents. The secret is returned once, so store it immediately; admin-only: tenant clients cannot mint keys.
Instructions
Create a new wafle API key with the given scopes. Returns the secret ONCE — store it immediately.
Use when onboarding a new dashboard user, integration, or agent. Prefer narrowly-scoped keys.
If the wafle backend has not yet implemented /auth/keys POST, this tool returns the upstream error untouched.
Admin-only: tenant clients cannot mint API keys.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable label, e.g. 'Vigía COO automation'. | |
| scopes | Yes | Scopes to grant; see scope matrix in the readme. | |
| expires_at | No | Optional epoch seconds at which the key expires. | |
| store_slug | No | Optional: scope the key to a single store. |