返回顶部
b

botauthbotauth命令行

Use the botauth CLI to list, search, and retrieve secrets from the user's unlocked botauth vault with per-request approval in the desktop app. Use when a task needs API keys, tokens, or passwords from an existing botauth vault.

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

botauth

botauth

使用 botauth 可从用户的 botauth 保管库中安全检索 API 密钥、令牌和凭据。桌面应用必须正在运行,保管库必须已解锁,且每次 list、search 和 get 请求都可能触发审批提示。

使用场景

  • - 你需要 API 密钥、令牌或密码来完成某项任务
  • 用户要求你使用 botauth 中已存在的凭据
  • 你需要从用户的保管库中填充 .env 文件或配置

除非用户明确要求,否则不要保存新的密钥。botauth add 会打开桌面流程供用户填写凭据。

前置条件

  • - botauth 必须已安装且位于 PATH 中
  • botauth 桌面应用必须正在运行
  • 保管库必须已解锁
  • 首先运行 botauth status

核心命令

检查连接

bash
botauth status

搜索或列出密钥

bash
botauth search openai
botauth search github --provider github
botauth list
botauth list --provider github
botauth list --tags dev,production

分两步检索密钥

首先获取元数据:

bash
botauth get OpenAI API Key
botauth get --id

然后获取敏感字段:

bash
botauth get --id --fields api_key
botauth get --id --fields apikey,clientsecret --access-key

在同一工作流中尽可能复用 --access-key,以避免重复的审批提示。

要求用户创建密钥

bash
botauth add
botauth add --app openai --secret-name Production Key

典型工作流

bash
botauth status
botauth search openai
botauth get OpenAI API Key
botauth get --id --fields api_key --access-key
export OPENAIAPIKEY=

JSON 输出

使用 --json 获取机器可读的输出:

bash
botauth search github --json
botauth get --id --fields token --json

重要说明

  • - list、search、get 和 add 可能会在桌面应用中显示审批提示
  • 敏感值仅通过 get --fields 返回
  • 访问密钥有效期短;在单个任务中复用,然后丢弃
  • 如果 botauth status 失败,请要求用户启动或解锁桌面应用

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 botauth-1776176783 技能

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

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

通过命令行安装

skillhub install botauth-1776176783

下载

⬇ 下载 botauth v0.1.0(免费)

文件大小: 2.5 KB | 发布时间: 2026-4-15 10:17

v0.1.0 最新 2026-4-15 10:17
Initial release of the botauth skill.

- Allows secure listing, searching, and retrieval of secrets from the user's botauth vault with per-request approval in the desktop app.
- Supports common workflows to get credentials, fill config files, and prompt users to add new secrets.
- Implements `status`, `list`, `search`, `get`, and `add` commands.
- Sensitive values are only accessible with approval; short-lived access keys enhance security.
- Emphasizes security best practices and integration with the desktop app.

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

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

p2p_official_large
返回顶部