api-key-ui-tab
bởi maverick-software
Coding Agents & IDEsTóm tắt
API Keys management UI tab for OpenClaw dashboard.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Cài đặt
clawhub install maverick-software/api-key-ui-tabChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.