A password manager is software that generates, stores and fills unique credentials for every account, keeping them in an encrypted vault that only the user can unlock. In identity & access practice within cybersecurity, it is the most practical control against password reuse, the habit that turns one breached website into a chain of compromised accounts.
The tool shifts the burden of memory from people to cryptography. Instead of recalling dozens of weak passwords, the user protects one master password or another unlock factor, and the manager supplies long random secrets to each site, often together with one-time codes and passkeys.
How a password manager protects the vault
A password manager protects stored credentials by encrypting the vault on the device before anything leaves it. Most modern products follow a zero-knowledge design: the vendor stores only ciphertext and never receives the key needed to decrypt it.
The unlock process starts with key derivation. The master password is run through a deliberately slow function such as PBKDF2, scrypt or Argon2id with a unique salt, producing a key that is expensive to guess by brute force. That key, sometimes combined with a device-held secret key, decrypts a vault key, which in turn decrypts individual entries, usually with AES-256 or XChaCha20-Poly1305.
The table below summarizes the main building blocks of a typical vault architecture and the attack each one addresses.
| Component | Typical implementation | Threat it mitigates |
|---|---|---|
| Key derivation function | Argon2id or PBKDF2 with high iteration count | Offline guessing of the master password |
| Vault encryption | AES-256-GCM or XChaCha20-Poly1305 | Theft of stored ciphertext |
| Secret key or device key | 128-bit random value kept on enrolled devices | Weak master passwords after a server breach |
| Sync service | Encrypted blobs relayed through the vendor cloud | Data loss and device replacement |
| Autofill engine | Browser extension matching saved domains | Phishing on look-alike domains |
Because decryption happens locally, the master secret is the single point of failure. A forgotten master password usually means a lost vault unless the user prepared a recovery kit, an emergency contact or an administrator-controlled recovery path.
Types of password managers
Password managers differ mainly in where the vault lives and who administers it. The choice determines availability, recovery options and the size of the attack surface.
| Type | Where data lives | Strength | Main drawback |
|---|---|---|---|
| Browser built-in | Browser profile, synced with the vendor account | Zero setup, broad adoption | Tied to one browser ecosystem |
| Cloud-synced standalone | Encrypted vault on vendor servers | Cross-platform, sharing features | Vendor becomes a high-value target |
| Local or offline | Encrypted file on user storage | No third-party server | Manual sync and backup |
| Self-hosted | Server run by the organization | Full infrastructure control | Patching and uptime fall on the operator |
| Enterprise team manager | Cloud or on-premises with admin console | Policy, audit logs, provisioning | Licensing cost and admin overhead |
Enterprise products add centralized policy enforcement, such as required vault length, mandatory MFA for unlock and restrictions on exporting data. Many integrate with an identity provider through SSO and SCIM so that accounts are created and removed together with the employee record.
Password managers and neighboring access controls
A password manager complements rather than replaces other identity controls. It makes passwords strong and unique, while other mechanisms reduce how often passwords are needed or how much damage a stolen one can cause.
| Control | What it solves | Relationship to a password manager |
|---|---|---|
| MFA | A stolen password alone is not enough | Many managers store TOTP seeds and push the second factor |
| SSO | One login replaces many application passwords | Reduces vault size but leaves non-federated apps |
| Passkeys | Phishing-resistant public key login | Managers increasingly store and sync passkeys |
| Privileged access management | Controls admin and service credentials | PAM adds session recording and checkout workflows |
| Credential rotation | Limits the lifetime of exposed secrets | Managers flag old or breached entries for change |
Storing TOTP seeds in the same vault as passwords is convenient but collapses two factors into one location. Security teams often keep second factors separate for high-value accounts such as email, banking and cloud administration.
Choosing and deploying a password manager
A sound deployment begins with a clear threat model: who needs access, which devices are trusted and what happens when someone leaves or forgets a secret. The decision table below maps common situations to a reasonable choice.
| Situation | Recommended approach | Reason |
|---|---|---|
| Individual with several devices | Cloud-synced standalone manager | Seamless sync with zero-knowledge encryption |
| Household sharing streaming and utility logins | Family plan with shared vaults | Granular sharing without revealing every entry |
| Small business without IT staff | Hosted business tier | Admin recovery and offboarding without servers |
| Regulated organization with strict data residency | Self-hosted or regional cloud | Keeps encrypted data in an approved location |
| Air-gapped or high-secrecy environment | Local encrypted database | No network dependency or external sync |
During rollout, the most effective habits are a long passphrase as master password, typically five or more random words, enabling MFA on the vault itself, and importing old credentials so that the built-in password health report can identify reused and breached entries for immediate replacement.
Limitations, risks and common mistakes
A password manager concentrates risk in exchange for removing reuse. That trade is overwhelmingly favorable, but it carries specific failure modes that practitioners should plan for.
- Endpoint malware defeats encryption: an infostealer on an unlocked device can read decrypted entries from memory or capture the master password.
- Vendor breaches expose metadata: some products have left URLs or item names unencrypted, revealing which services a user holds.
- Weak key derivation settings: old vaults may still use low PBKDF2 iteration counts, making stolen ciphertext easier to crack.
- Autofill on compromised pages: aggressive automatic filling can leak credentials to injected forms, so click-to-fill is safer.
- No recovery plan: without an emergency kit or delegated access, a forgotten master password permanently locks the vault.
A frequent misconception is that a manager makes phishing impossible. Domain matching helps, because the extension refuses to fill credentials on a look-alike site, yet users who copy and paste manually bypass that protection entirely.
Put simply
A password manager is like a locked safe for all your keys. You remember one strong combination, and the safe holds a different, complicated key for every door you use online.
Because each website gets its own random password, one leak no longer opens your other accounts. The safe also types the right key for you, and it hesitates when a fake door looks almost like the real one. The main rule is simple: protect the combination well and keep a recovery plan.
In practice
An accounting firm with 40 employees discovers that staff reuse two or three passwords across tax portals, email and banking sites. After a phishing email captures one employee’s credentials, attackers try the same password on the firm’s payroll platform and succeed.
The firm deploys a business password manager connected to its identity provider. Each employee sets a six-word master passphrase and enrolls a hardware security key for vault unlock. The health report flags over 300 reused passwords, which are replaced with 20-character random values within two weeks, and shared client portal logins move into role-based shared vaults.
When an employee leaves six months later, removing the account in the directory revokes vault access automatically through SCIM. The firm rotates the shared entries that person could see, and no former colleague retains working credentials.