api-key-ui-tab
由 maverick-software 提供
Coding Agents & IDEs简介
API Keys management UI tab for OpenClaw dashboard.
描述
该技能的功能
Vault-backed API key management UI for OpenClaw. Stores secrets in ~/.openclaw/secrets.json (mode 0600) and replaces plaintext config values with SecretRef objects. The AI agent never receives raw key values.
Keys are resolved at gateway startup and never passed to the agent, unlike plaintext env vars that are visible throughout the runtime config.
何时使用
- Migrating plaintext API keys from openclaw.json to the secure vault in one click
- Adding a new provider key without manually editing config files
- Linking a skill to a vault key via dropdown instead of pasting raw strings
- Checking which keys are plaintext vs vault-secured at a glance
- Creating standalone vault secrets not tied to any config entry
示例工作流
User asks: migrate my plaintext OpenAI key to the vault
- 1
UI scans openclaw.json and detects OPENAI_API_KEY stored as plaintext
- 2
Vault Status Banner shows warning: 1 Plaintext Key Detected
- 3
User clicks Migrate to Vault button
- 4
secrets.migrate RPC writes key to ~/.openclaw/secrets.json and replaces config value with a SecretRef object
- 5
UI shows restart notification banner; user clicks Restart Now
OPENAI_API_KEY shows VAULT badge; openclaw.json contains SecretRef instead of raw key string
安装
clawhub install maverick-software/api-key-ui-tab运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。