api-key-ui-tab
maverick-software tarafından
Coding Agents & IDEsÖzet
API Keys management UI tab for OpenClaw dashboard.
Açıklama
Bu Beceri Ne Yapar
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.
Ne Zaman Kullanılır
- 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
Örnek İş Akışı
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
Kurulum
clawhub install maverick-software/api-key-ui-tabCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.