@baekho-lim/openclaw-secret-wallet
v0.2.0
Published
OpenClaw plugin for secret-wallet with selective inject and gated write tools
Readme
OpenClaw Secret Wallet Plugin
OpenClaw plugin for the secret-wallet CLI with safer default behavior:
- read tools are available
- write tools are gated (
allowWriteTools=falseby default) - inject tool is gated (
allowInjectTool=falseby default) secret_wallet_injectalways injects selected secrets via repeated--only
Install
openclaw plugins install @baekho-lim/openclaw-secret-walletRequired binary
Install secret-wallet first:
brew install baekho-lim/tap/secret-walletConfig
{
plugins: {
entries: {
"secret-wallet": {
enabled: true,
config: {
binaryPath: "/usr/local/bin/secret-wallet",
allowWriteTools: false,
allowInjectTool: true
}
}
}
}
}binaryPath can be omitted to resolve secret-wallet from PATH.
Tools
secret_wallet_statussecret_wallet_listsecret_wallet_getsecret_wallet_add(registered only whenallowWriteTools=true)secret_wallet_remove(registered only whenallowWriteTools=true)secret_wallet_inject(registered only whenallowInjectTool=true)
secret_wallet_inject input:
{
"command": ["node", "server.js"],
"secretNames": ["OPENAI_KEY", "DB_URL"]
}This maps to:
secret-wallet inject --only OPENAI_KEY --only DB_URL -- node server.jsLocal development
pnpm --filter @baekho-lim/openclaw-secret-wallet build
pnpm --filter @baekho-lim/openclaw-secret-wallet test
pnpm --filter @baekho-lim/openclaw-secret-wallet pack:smokeContribution note (OpenClaw repository)
When contributing from the OpenClaw monorepo, follow repository guidance and use:
scripts/committer "<conventional-commit-message>" <files...>