返回顶部
i

ipeaky安全密钥管理

Secure API key management for OpenClaw. Store, list, test, and delete API keys without exposing them in chat history. Keys are stored directly in openclaw.json via gateway config.patch — fully native integration. Use when a user needs to provide, manage, or test API keys (e.g., OpenAI, ElevenLabs, Anthropic, Brave, or any service). Triggers on phrases like "add API key", "store my key", "manage keys", "test my key", "set up API key", or when a skill requires an API key that isn't configured.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 3.2.0
安全检测
已通过
788
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

ipeaky

ipeaky — Secure API Key Management

Keys are stored directly in OpenClaw's native config (openclaw.json) via gateway config.patch.
This means every skill that declares primaryEnv automatically picks up the key — zero manual wiring.

Key Map — Service to Config Path

ServiceConfig PathprimaryEnv
OpenAIINLINECODE3OPENAIAPIKEY
ElevenLabs
skills.entries.sag.apiKey | ELEVENLABSAPIKEY | | Brave Search | tools.web.search.apiKey | BRAVEAPIKEY | | Gemini | skills.entries.nano-banana-pro.apiKey | GEMINIAPIKEY | | Google Places | skills.entries.goplaces.apiKey | GOOGLEPLACESAPI_KEY | | Notion | skills.entries.notion.apiKey | NOTIONAPIKEY | | ElevenLabs Talk | talk.apiKey | (direct) | | Custom skill | skills.entries.<skill-name>.apiKey | (per skill) | | Custom env | skills.entries.<skill-name>.env.<VAR_NAME> | (arbitrary) |

Important: Some keys serve multiple skills. OpenAI key is used by openai-whisper-api,
openai-image-gen, etc. ElevenLabs key is used by sag and talk. When storing, set ALL
relevant config paths for that key.

Storing Keys (v4 — Single Paste, Zero Exposure) ⭐ PREFERRED

One popup. Paste everything. Regex parses. One save. One restart. Keys never touch chat or network.

CODEBLOCK0

Examples:

CODEBLOCK1

The script:

  1. 1. Shows ONE macOS popup — user pastes all keys in any format
  2. Local Python regex parses key-value pairs (no AI, no network)
  3. Confirmation popup: "Found 3 keys: X, Y, Z — Store all?"
  4. ONE openclaw config set batch → ONE gateway restart
  5. Keys never appear in chat, logs, or shell history

Supported input formats:

  • - key_name: value or INLINECODE18
  • INLINECODE19
  • Bare tokens on separate lines (auto-labeled in order)
  • Mixed formats in one paste

Storing a Key (v3 — Zero Exposure)

Use the v3 script. The agent NEVER sees the key. The script handles popup + storage directly.

CODEBLOCK2

Examples:

CODEBLOCK3

The script:

  1. 1. Shows macOS popup (hidden input)
  2. Calls openclaw config set for each path
  3. Restarts gateway
  4. Returns ONLY "OK" or "ERROR" — key never appears in agent output or chat history

Legacy Method (v2 — agent sees key, NOT recommended)

Step 1: Launch the secure input popup. On macOS:
CODEBLOCK4

Step 2: Once you have the key value (from stdout of the script), store it via gateway config.patch.

Example for OpenAI:
CODEBLOCK5

Example for ElevenLabs:
CODEBLOCK6

Example for Brave Search:
CODEBLOCK7

Critical rules:

  • - NEVER echo, print, or include any key value in chat messages or tool call arguments
  • NEVER include key values in the reason field of config.patch
  • If a user pastes a key directly in chat, store it immediately and tell them to delete the message
  • The secureinputmac.sh script outputs the key to stdout — capture it in a variable, use it in config.patch, never log it

Listing Keys

Read from the live config using gateway config.get. Show masked values only (first 4 chars + ).
Parse the config JSON and find all apiKey fields, display their config path and masked value.

Testing a Key

Test endpoints:

  • - OpenAI: INLINECODE24
  • ElevenLabs: INLINECODE25
  • Anthropic: INLINECODE26
  • Brave Search: INLINECODE27

Source the key from the config (via gateway config.get), test it, report result. Never show the key.

Deleting a Key

Use gateway config.patch to set the key value to an empty string or remove the entry.

💎 Paid Tier (Coming Soon)

ipeaky core is free forever. A paid tier is in development with premium features:

  • - Team key sharing — Role-based access across team members
  • Key rotation reminders — Automated expiry alerts
  • Usage analytics — Track key usage across skills
  • Breach monitoring — Leak database notifications
  • Cross-platform — Linux & Windows secure input
  • Backup & sync — Encrypted cloud backup

See paid_tier/README-paid.md for details. Billing is powered by Stripe.

CODEBLOCK8

Security Guarantees

  • - Keys go: secure popup → stdout pipe → config.patch → openclaw.json (never chat)
  • Keys are automatically available to all skills via OpenClaw's native env injection
  • No separate credential files to manage
  • No manual source commands needed
  • config.patch triggers a gateway reload so keys take effect immediately

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 ipeaky-1776420060 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 ipeaky-1776420060 技能

通过命令行安装

skillhub install ipeaky-1776420060

下载

⬇ 下载 ipeaky v3.2.0(免费)

文件大小: 27.36 KB | 发布时间: 2026-4-17 20:07

v3.2.0 最新 2026-4-17 20:07
Add paid tier Stripe integration scaffold; stripe-setup.sh, stripe-checkout.sh, paid tier docs

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部