Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

bitwarden-vault

bởi startupbros

Security & Passwords
2.4kLượt tải do clawskills.sh công bố
5Sao
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Bitwarden CLI setup, authentication.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

The GitHub account password retrieved securely from the vault

Yêu cầu

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

Cài đặt

clawhub install startupbros/bitwarden-vault

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết