技能标识:vault-client
Hashicorp Vault client for OpenClaw agents. Read and write secrets from a Vault server without raw curl commands or hardcoded tokens. Use when reading API keys, DB credentials, or any secret stored in Hashicorp Vault; checking token expiry; rotating secrets; or configuring Vault access for the first time. NOT for the zuiho-kai local Vault skill (that is a different, local-only tool).
为OpenClaw代理提供对Hashicorp Vault的干净、缓存访问。无需curl,无需在转录中硬编码令牌。
安装后运行一次:
bash
node ~/.openclaw/workspace/skills/vault-client/scripts/vault.js setup
提示输入地址、令牌和挂载点。保存至~/.openclaw/vault.json,并在AGENTS.md中追加启动块。
bash
node ~/.openclaw/workspace/skills/vault-client/scripts/vault.js check
bash
json
{
address: https://vault.example.com:8200,
mount: secret,
auth: { method: token, token: hvs.xxx },
cachettlseconds: 300,
tls: { verify: true }
}
对于使用自签名证书的内部Vault,设置tls.verify: false。
密钥缓存于~/.openclaw/vault-cache.json中,缓存时间为cachettlseconds(默认5分钟),以避免重复API调用。
令牌认证为默认方式。关于AppRole和Kubernetes认证,请参阅references/auth-methods.md。
仅使用Node.js标准库(https、fs、readline)。无需npm安装。
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 vault-client-1776276716 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 vault-client-1776276716 技能
skillhub install vault-client-1776276716
文件大小: 6.99 KB | 发布时间: 2026-4-16 16:27