API Keys
API keys authenticate calls to the TerminalUse API from your app, backend, or automation. Use API keys when you want to:- create tasks
- manage agents, filesystems, and projects
- call the SDK from your application
Webhook Keys
Webhook keys are for verifying inbound webhook delivery from TerminalUse. The CLI surface for these istu keys, and it manages webhook keys specifically, not general API auth keys.
See List Webhook Keys.
Environment Secrets
Environment secrets are runtime environment variables attached to an agent environment such asproduction or preview.
Use them for:
- provider credentials
- database URLs
- external service tokens
tu env add, tu env ls, tu env get, tu env rm, tu env pull, and tu env import.
The Important Distinction
| Surface | Used for |
|---|---|
| API key | Calling TerminalUse APIs |
| Webhook key | Verifying TerminalUse webhooks |
| Environment secret | Supplying runtime config to deployed agents |