跳到正文
TakoAPI
返回技能列表

api-key-ui-tab

由 maverick-software 提供

Coding Agents & IDEs
519下载量由 clawskills.sh 提供
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    UI scans openclaw.json and detects OPENAI_API_KEY stored as plaintext

  2. 2

    Vault Status Banner shows warning: 1 Plaintext Key Detected

  3. 3

    User clicks Migrate to Vault button

  4. 4

    secrets.migrate RPC writes key to ~/.openclaw/secrets.json and replaces config value with a SecretRef object

  5. 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 或你在用的任意编程智能体里。

链接