Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

keychains

bởi interagentic

Coding Agents & IDEs
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Call any API without leaking credentials.

Mô tả

Kỹ năng này làm gì

Keychains proxies API requests and injects real credentials server-side using placeholder variables like `{{OAUTH2_ACCESS_TOKEN}}`. Agents send requests with placeholders; the Keychains proxy substitutes real tokens before forwarding to the upstream API. Users manage credentials and approve agent access from the Keychains dashboard.

Agents can call any API without ever receiving real credentials, eliminating the risk of key exposure through logs, prompts, or agent memory.

Khi nào nên dùng

  • List GitHub repos from an AI agent without exposing OAuth tokens
  • Send Slack messages via an agent without sharing bot credentials
  • Read Gmail through an assistant without handing it your OAuth token
  • Query Stripe customer data from an agent without embedding secret keys
  • Run cloud-hosted agents that call third-party APIs without credential leakage

Quy trình ví dụ

ĐẦU VÀO

User asks: List my GitHub repositories

AGENT
  1. 1

    Run keychains curl https://api.github.com/user/repos -H 'Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}'

  2. 2

    Receive an approval URL from Keychains on first use

  3. 3

    Present the approval URL to the user for FaceID/Passkey authentication

  4. 4

    Run keychains wait <approval-url> to poll until the user approves

  5. 5

    Replay the original request and receive the live API response

ĐẦU RA

JSON list of the user's GitHub repositories, with no credentials ever passed to the agent

Yêu cầu

  • keychains.dev account for credential vault and approval management

Cài đặt

clawhub install interagentic/keychains

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết