跳到正文
TakoAPI
返回技能列表

bitwarden-vault

由 startupbros 提供

Security & Passwords
2.4k下载量由 clawskills.sh 提供
5星标
1浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Bitwarden CLI setup, authentication.

描述

该技能的功能

Bitwarden CLI (`bw`) provides programmatic access to a Bitwarden password vault, letting you retrieve passwords, usernames, TOTP codes, and secure notes from the command line. It supports email/password, API key, and SSO authentication. All vault operations require a session key exported as `BW_SESSION` after authenticating.

Lets scripts and agents pull secrets from an encrypted vault at runtime instead of storing credentials in env files or source code.

何时使用

  • Pulling API keys from vault into shell scripts
  • Fetching TOTP codes for automated 2FA login flows
  • Retrieving database passwords during local development
  • Accessing shared credentials in CI/CD pipelines
  • Looking up SSH passwords without leaving the terminal

示例工作流

输入

User asks: Get the password for my GitHub account from Bitwarden

智能体
  1. 1

    Run bw unlock inside a tmux session to decrypt the vault

  2. 2

    Export the returned session key as BW_SESSION

  3. 3

    Run bw get password "GitHub" to retrieve the password

  4. 4

    Return the password without logging it to stdout

输出

The GitHub account password retrieved securely from the vault

前置要求

  • Bitwarden account (free or paid at bitwarden.com)
  • BW_CLIENTID environment variable (for API key authentication)
  • BW_CLIENTSECRET environment variable (for API key authentication)

安装

clawhub install startupbros/bitwarden-vault

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接