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

twhidden-bitwarden

بواسطة twhidden

DevOps & Cloud
490التنزيلات وفق ما يذكره clawskills.sh
2النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Bitwarden & Vaultwarden password manager integration.

الوصف

ما الذي تفعله هذه المهارة

Wraps the Bitwarden CLI with automatic login and session caching for both official Bitwarden and self-hosted Vaultwarden instances. Supports storing, retrieving, generating, and deleting passwords and credentials from the command line.

Automatic session caching eliminates repeated authentication on every command, making it practical for agents and scripts that perform multiple vault operations in a single session.

متى تستخدمها

  • Retrieving API keys for use in automation scripts
  • Generating and storing passwords for new service accounts
  • Looking up credentials during CI/CD pipeline configuration
  • Registering new accounts on a self-hosted Vaultwarden server
  • Locking the vault after a batch of automated credential operations

مثال على سير العمل

الإدخال

User asks: Generate and store a new password for the staging database

الوكيل
  1. 1

    Run bw.sh login to authenticate and cache the session token in /tmp/.bw_session

  2. 2

    Run bw.sh generate 32 to create a 32-character secure password

  3. 3

    Run bw.sh create "Staging DB" "admin" "$PASS" "https://staging.example.com" to save the entry

  4. 4

    Run bw.sh list "Staging DB" to confirm the entry exists in the vault

الإخراج

New credential entry created in the vault with a generated 32-character password

المتطلبات

  • Bitwarden CLI (bw) — install via npm install -g @bitwarden/cli
  • Bitwarden account or self-hosted Vaultwarden instance
  • BW_SERVER environment variable
  • BW_EMAIL environment variable
  • BW_MASTER_PASSWORD environment variable

التثبيت

clawhub install twhidden/twhidden-bitwarden

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

الروابط