API Key Commands
Create and manage API keys used for CLI authentication and programmatic access.
List API Keys
View all your API keys:
Terminal
Get Key Details
View details about a specific API key:
Terminal
Create an API Key
Generate a new API key:
Terminal
Store securely
The full API key is only displayed once at creation. Copy and store it in a secure location.
Options
| Flag | Description |
|---|---|
--name | A descriptive name for the key (e.g., "Production", "CI/CD") |
Delete an API Key
Revoke an API key:
Terminal
Warning
Deleting an API key immediately revokes access. Any tools or scripts using this key will stop working.
Aliases
You can use apikeys or keys as shortcuts:
hookwatch keys list