返回顶部
b

bitwarden-credential

Store or retrieve credentials in Bitwarden via CLI. Use when asked to save, store, or add a password/API key/OAuth token/secret/credential to Bitwarden. Triggered by phrases like "save to bitwarden", "store credential", "add api key to bitwarden", "save password", or when given a name/username/password triplet to persist. Requires user to have run `bw unlock` first and provide BW_SESSION env var.

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

bitwarden-credential

# Bitwarden Credential Skill Store credentials (passwords, API keys, OAuth tokens, etc.) in Bitwarden via the CLI. ## Workflow ### Step 1: Ensure Vault is Unlocked The user must unlock their Bitwarden vault **once per session** in their terminal: ```bash bw unlock ``` After unlocking, the user gets a session key. There are two ways to provide it: **Option A — Export the session (user does in their terminal):** ```bash export BW_SESSION="<session-key-from-unlock>" ``` Then just tell me "unlocked" and I can run commands directly. **Option B — Pass session directly to script:** ```bash BW_SESSION="<session-key>" ./bitwarden-credential.sh <name> <username> <password> [notes] ``` ### Step 2: Store a Credential Once vault is unlocked, provide me with: - **Name** — identifier for this credential (e.g., "GitHub API Key", "MiniMax API") - **Username** — often the client_id or key name - **Password/Secret** — the actual secret value - **Notes** *(optional)* — extra context (scope, grant_type, etc.) Example user message: > "Save to Bitwarden: name=Grafana, username=admin, password=xyz123, notes=prod server" ### Step 3: Execute Use the bundled script or run directly: ```bash # With BW_SESSION set ./scripts/bitwarden-credential.sh "<name>" "<username>" "<password>" "[notes]" # Or via bw CLI directly echo -n '{"name":"...","login":{"username":"...","password":"..."},"type":1}' | bw create item ``` ## Notes - **Bitwarden CLI must be installed**: `brew install bitwarden-cli` - **API key auth**: Use `bw login --apikey` with client_id + client_secret, but vault still requires master password to unlock - **I cannot unlock the vault for you** — the master password never leaves your terminal - Session token (`BW_SESSION`) is session-scoped; it expires when the vault locks again

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 bitwarden-credential-1776007382 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 bitwarden-credential-1776007382 技能

通过命令行安装

skillhub install bitwarden-credential-1776007382

下载 Zip 包

⬇ 下载 bitwarden-credential v1.0.0

文件大小: 2.66 KB | 发布时间: 2026-4-13 09:30

v1.0.0 最新 2026-4-13 09:30
Initial release: store/retrieve credentials in Bitwarden via CLI

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

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

p2p_official_large
返回顶部