Password manager

On this page 7

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.

ComponentTypical implementationThreat it mitigates
Key derivation functionArgon2id or PBKDF2 with high iteration countOffline guessing of the master password
Vault encryptionAES-256-GCM or XChaCha20-Poly1305Theft of stored ciphertext
Secret key or device key128-bit random value kept on enrolled devicesWeak master passwords after a server breach
Sync serviceEncrypted blobs relayed through the vendor cloudData loss and device replacement
Autofill engineBrowser extension matching saved domainsPhishing on look-alike domains
Core components of a password manager vault

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.

TypeWhere data livesStrengthMain drawback
Browser built-inBrowser profile, synced with the vendor accountZero setup, broad adoptionTied to one browser ecosystem
Cloud-synced standaloneEncrypted vault on vendor serversCross-platform, sharing featuresVendor becomes a high-value target
Local or offlineEncrypted file on user storageNo third-party serverManual sync and backup
Self-hostedServer run by the organizationFull infrastructure controlPatching and uptime fall on the operator
Enterprise team managerCloud or on-premises with admin consolePolicy, audit logs, provisioningLicensing cost and admin overhead
Main categories and their trade-offs

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.

ControlWhat it solvesRelationship to a password manager
MFAA stolen password alone is not enoughMany managers store TOTP seeds and push the second factor
SSOOne login replaces many application passwordsReduces vault size but leaves non-federated apps
PasskeysPhishing-resistant public key loginManagers increasingly store and sync passkeys
Privileged access managementControls admin and service credentialsPAM adds session recording and checkout workflows
Credential rotationLimits the lifetime of exposed secretsManagers flag old or breached entries for change
How password managers relate to other identity & access controls

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.

SituationRecommended approachReason
Individual with several devicesCloud-synced standalone managerSeamless sync with zero-knowledge encryption
Household sharing streaming and utility loginsFamily plan with shared vaultsGranular sharing without revealing every entry
Small business without IT staffHosted business tierAdmin recovery and offboarding without servers
Regulated organization with strict data residencySelf-hosted or regional cloudKeeps encrypted data in an approved location
Air-gapped or high-secrecy environmentLocal encrypted databaseNo network dependency or external sync
Decision guide for common scenarios

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.