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 root key in the Unkey dashboard under Root Keys. For MCP, the docs recommend clicking New root key, naming it for your assistant, selecting only the needed permissions, then copying the key and storing it in an environment variable such as UNKEY_ROOT_KEY as described on Unkey MCP servers.