Bitwarden — Open Source Password Manager for Teams
Bitwarden is the leading open-source password manager with cloud sync. It provides end-to-end encrypted credential storage across all devices — web, desktop, mobile, browser, and CLI — with free personal use and affordable team/enterprise plans.
What it is
Bitwarden is an open-source password manager that provides end-to-end encrypted credential storage synchronized across all devices. It offers clients for web, desktop, mobile, browser extensions, and CLI. Personal use is free. Teams and enterprise plans add shared vaults, RBAC, and SSO integration.
This tool is for anyone who manages passwords, but especially developers and teams who need secure credential sharing, CLI access for automation, and self-hosting options.
How it saves time or tokens
Bitwarden eliminates password reuse and insecure credential sharing. The CLI client integrates with scripts and CI pipelines to inject secrets without hardcoding them. Browser extensions auto-fill credentials, saving time on repeated logins. For AI-assisted workflows, the CLI can programmatically retrieve credentials that agents need for API authentication.
How to use
- Create a Bitwarden account or deploy a self-hosted instance.
- Install clients on your devices.
- Import existing passwords or add them manually.
- Use the browser extension for auto-fill and the CLI for automation.
# Install Bitwarden CLI
npm install -g @bitwarden/cli
# Login
bw login
# Unlock vault
export BW_SESSION=$(bw unlock --raw)
# Get a password by name
bw get password 'My API Key'
# List items in a folder
bw list items --folderid <folder-id>
# Use in scripts
API_KEY=$(bw get password 'production-api-key')
curl -H "Authorization: Bearer $API_KEY" https://api.example.com
Example
Using Bitwarden CLI in a CI pipeline:
# GitHub Actions example
steps:
- name: Install Bitwarden CLI
run: npm install -g @bitwarden/cli
- name: Unlock vault
run: |
bw login --apikey
export BW_SESSION=$(bw unlock --raw --passwordenv BW_PASSWORD)
echo "BW_SESSION=$BW_SESSION" >> $GITHUB_ENV
env:
BW_CLIENTID: ${{ secrets.BW_CLIENTID }}
BW_CLIENTSECRET: ${{ secrets.BW_CLIENTSECRET }}
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
- name: Deploy with secrets
run: |
DB_PASS=$(bw get password 'prod-db-password')
deploy --db-password "$DB_PASS"
Related on TokRepo
- Security tools — More security and credential management tools
- Self-hosted solutions — Tools you can host yourself
Common pitfalls
- The master password cannot be recovered if lost. Bitwarden uses zero-knowledge encryption, so even Bitwarden cannot reset your password.
- Self-hosting requires maintaining the server, database, and SSL certificates. Use the cloud version unless you have specific compliance requirements.
- The CLI session token expires. Scripts that run for long periods need to handle re-authentication.
- Browser extension conflicts with other password managers. Disable competing managers to avoid auto-fill confusion.
- Free personal accounts support unlimited passwords but limit sharing. Team features require a paid plan.
Frequently Asked Questions
Yes. Bitwarden's client applications and server are open-source. The client code is available on GitHub under GPL-3.0. The server code is available under AGPL-3.0. You can audit the code and self-host the entire stack.
Yes. Bitwarden provides Docker-based self-hosting. You can also use Vaultwarden, a community-maintained alternative server implementation written in Rust that is lighter on resources.
Yes. Bitwarden supports TOTP authenticator apps, email codes, hardware security keys (FIDO2/WebAuthn), and Duo Security for two-factor authentication on your vault.
The Bitwarden CLI lets you login, unlock, and retrieve credentials programmatically. Use it in scripts, CI pipelines, or automation tools. Session tokens authenticate requests, and all operations are encrypted.
Yes. Bitwarden Organizations allow teams to share credentials through shared vaults with role-based access control. Admins manage who can view or edit specific credential collections.
Citations (3)
- Bitwarden GitHub— Bitwarden is an open-source password manager
- Bitwarden CLI Docs— Bitwarden CLI for automation and scripting
- Bitwarden Security Whitepaper— End-to-end encryption architecture
Related on TokRepo
Discussion
Related Assets
NAPI-RS — Build Node.js Native Addons in Rust
Write high-performance Node.js native modules in Rust with automatic TypeScript type generation and cross-platform prebuilt binaries.
Mamba — Fast Cross-Platform Package Manager
A drop-in conda replacement written in C++ that resolves environments in seconds instead of minutes.
Plasmo — The Browser Extension Framework
Build, test, and publish browser extensions for Chrome, Firefox, and Edge using React or Vue with hot-reload and automatic manifest generation.