List, create, and revoke inference keys with the management API.
API keys authenticate requests to the OpenDunes API. A default key is created automatically when you sign up; keys look like sk- followed by a hex string, and the full value is shown once at creation — only a secure hash is stored.
Programmatic key management goes through the management API at /v1/management/keys. It authenticates with a management key (mk-…) — a separate credential from your inference keys, created at Settings → Management Keys. For interactive management, use the Keys page.
The openai SDK has no keys resource, so call the endpoints directly with fetch.
There is no update operation — rotate by creating a new key and revoking the old one.