Credentials
| Credential | Where it belongs |
|---|---|
| Webcompute API key | web login, WEBCOMPUTE_API_KEY, or new Web({ apiKey }) |
| Model provider key | Provider-specific environment variable such as OPENROUTER_API_KEY, OPENAI_API_KEY, or another verified model route key |
| User secrets for agent runs | --secret name=ENV_VAR in the CLI or SDK variables with domain scope |
| Debug UI and CDP URLs | Short-lived internal logs or UI only, never public transcripts |
Signed browser capabilities
Debug UI and CDP URLs are bearer capabilities. Anyone with the URL can inspect or control the browser within that capability’s scope. Use them intentionally:- Request
--debug-urlonly when a human needs it. - Redact signed URLs from logs.
- Avoid passing signed URLs back into untrusted model prompts.
- Close browsers when inspection is complete.