geni credential connect
Open the dashboard's connect page for a service so the operator can authorize a new credential.
geni credential connect <service> [flags]Opens the General Input dashboard's credential setup page for the given service in the operator's browser. The agent prompts the operator to connect; once they finish in the dashboard, the agent re-runs geni credential list --service <service> to discover the newly-created credential id.
This is the lightweight version of credential connection, no polling, no rendezvous. The agent and operator coordinate informally: agent says "I opened your browser to connect Slack; let me know when you're done." The operator clicks through; the agent retries the listing.
Synopsis
geni credential connect slack
geni credential connect github --print-url # don't auto-open; just print the URL
geni credential connect notion --no-browser # alias for --print-url| Flag | Notes |
|---|---|
<service> | Service slug (slack, github, notion, …). Use geni integration list to discover valid values. |
--print-url | Don't auto-open the browser; print the URL to stdout. Useful in non-graphical environments (ssh, CI). |
--no-browser | Alias for --print-url. |
Output
Default (browser auto-opened):
Opening https://generalinput.com/credentials/connect?service=slack
↳ approve in your browser
When you're done, re-run: geni credential list --service slackWith --print-url:
https://generalinput.com/credentials/connect?service=slackExit codes
| Code | Meaning |
|---|---|
0 | URL emitted (and browser opened, if not --print-url) |
4 | Service slug unknown |
78 | Runner session missing or expired |
125 | Failed to open browser (network or platform issue). The URL is still printed; operator can paste manually. |
Why this is informal
A future iteration may add a polling flow (geni credential connect <service> --wait) that prints a short-lived intent id, holds the connection open, and emits the new credential id when the operator finishes. That's tracked separately. For now, the agent treats this as "go tell the operator to do something in the dashboard, then re-list."