تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

bitwarden-vault

بواسطة startupbros

Security & Passwords
2.4kالتنزيلات وفق ما يذكره clawskills.sh
5النجوم
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط