Authenticate the CLI by storing your root key locally. Use this before running other commands so you don’t need to passDocumentation Index
Fetch the complete documentation index at: https://unkey.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
--root-key every time. The command prompts for your root key interactively (input is hidden) and saves it to ~/.unkey/config.toml with restricted file permissions.
You can create a root key from the Unkey dashboard.
Your root key is stored in plaintext at
~/.unkey/config.toml. Make sure only your user account can read this file. The CLI creates it with 0600 permissions by default.Usage
Overriding the stored key
You can override the stored key on a per-command basis using the--root-key flag or the UNKEY_ROOT_KEY environment variable:
--root-key flag > UNKEY_ROOT_KEY env var > ~/.unkey/config.toml.
Updating your key
Rununkey auth login again to replace the stored key. The new key overwrites the previous one.
