Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create API
UNKEY_CREATE_APICreate an API namespace for organizing and issuing customer API keys.
Create API Key
UNKEY_CREATE_API_KEYCreate a customer API key in an API namespace and return its one-time plaintext key value. Roles must already exist in the workspace. Handle the returned key as a secret; add direct permissions afterward with CREATE_OR_ADD_KEY_PERMISSIONS.
Create Existing-Key Portal Session
UNKEY_CREATE_EXISTING_KEY_PORTAL_SESSIONCreate an end-user portal session with key read, key reroll, and analytics access for existing keys, then return its single-use redirect URL. This action does not grant the keys:create capability.
Create Identity
UNKEY_CREATE_IDENTITYCreate an identity that groups customer API keys under one external entity with shared metadata and rate limits.
Create or Add Key Permissions
UNKEY_CREATE_OR_ADD_KEY_PERMISSIONSCreate any missing workspace permissions for the supplied slugs, reuse existing workspace permissions, and attach all supplied slugs directly to a customer API key without removing existing direct or role-based access.
Create Permission
UNKEY_CREATE_PERMISSIONCreate an RBAC permission with a unique slug for assignment to roles or customer API keys.
Create Portal
UNKEY_CREATE_PORTALCreate a keyspace-backed customer portal for free API Management. This action does not create portals backed by paid Compute apps. The provider marks this endpoint as unreleased and subject to change.
Create Portal Domain
UNKEY_CREATE_PORTAL_DOMAINAttach a custom domain to an Unkey portal, start asynchronous DNS verification, and return the records that must be published.
Create Rate Limit Namespace
UNKEY_CREATE_RATELIMIT_NAMESPACECreate a named rate-limit namespace and return the rlns_ namespace ID used by quota inspection and consumption tools.
Create Role
UNKEY_CREATE_ROLECreate an RBAC role without attaching or creating permissions.
Create Role and Permissions
UNKEY_CREATE_ROLE_AND_PERMISSIONSCreate an RBAC role, create any missing workspace permissions for the supplied slugs, reuse existing workspace permissions, and attach all of them to the new role.