U
unkey CLI
Details
- Command
-
unkey - Docs
- https://www.unkey.com/docs/platform/cli/overview
Authentication
Unkey CLI session oauth2 discovered
$ unkey login Acquired by the CLI — running unkey login opens the auth flow and stores the credential.
$ unkey login --root-key=- Create a workspace-scoped root key under Root Keys in the Unkey dashboard. For the MCP server docs, Unkey says to click New root key, name it, select only the needed permissions, then copy the secret and store it as UNKEY_ROOT_KEY. See Root key permissions to scope access.