keychain_secure_connect
Securely connect a platform credential without exposing the key in chat. Checks environment variables first, then opens a localhost page for secure key input.
Instructions
Securely connect a platform credential without exposing the key in chat. Checks environment variables first; if not found, opens a localhost secure input page for the user to paste their key. Call once to get the URL, then call again after the user submits to complete the connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Platform ID: github, stripe, openai, vercel, cloudflare, etc. | |
| label | No | Optional label to distinguish multiple credentials for the same platform (default: 'default'). | |
| setup_url | No | Optional URL to the platform's API key settings page, shown on the input page. |