What Is a Password Manager and How Does It Work? Vaults, Autofill and Recovery
A password manager stores every login in an encrypted vault and fills it in for you. Learn how vaults, master passwords, autofill and recovery actually work.
By Galactic News Editorial · Published 2026-11-22T16:41:24+00:00 · Updated 2026-11-22T16:41:24+00:00
What Is a Password Manager and How Does It Work? Vaults, Autofill and Recovery
A password manager is an app that creates, stores, and fills in your passwords. You remember one strong master password. The manager remembers the rest. Every login gets its own long, random password. That is the whole idea. This guide explains how the vault works, how autofill works, and what happens if you forget the master password.
What Is a Password Manager and How Does It Work?
A password manager stores your logins in an encrypted vault. The vault holds usernames, passwords, and often much more. Secure notes, credit cards, addresses, and two-factor codes can live there too. The vault is locked with your master password. Only you hold the key to open it.
Here is the basic flow. You install the app on your phone and computer. You create an account and choose a master password. You save a login once, either by typing it in or letting the app capture it. From then on, the app fills it in for you. When you create a new account, the built-in generator suggests a strong, unique password and saves it automatically.
The point is simple. Reused passwords are the main way breaches spread from one site to another. A manager removes the need to reuse anything. Each account gets a password you could never memorize, and you never have to.
How the Vault Protects Your Passwords
The vault is encrypted on your device before anything leaves it. Good managers use a zero-knowledge design. That means the company running the service cannot read your vault. Its servers store only encrypted data. They never hold a key that can open it.
The encryption works in layers. Your master password is run through a slow key derivation function. Bitwarden, for example, uses PBKDF2 with 600,000 iterations by default, salted with your account email. The result is a 256-bit master key. That key unlocks a second, randomly generated key, which decrypts your vault items. Vault data itself uses AES 256-bit encryption. 1Password follows the same pattern. It pairs your account password with a 34-character Secret Key generated when you sign up. Both are needed on a new device.
Two details matter. First, the slow derivation function is deliberate. It makes guessing your master password expensive for an attacker. Second, your master password never leaves your device in usable form. The server receives only a hash it uses to verify your login. If the company's servers were breached, an attacker would get encrypted blobs, not your passwords.
How Autofill Works Day to Day
Autofill is the feature you will use most. When you open a login page, the browser extension or mobile app detects the fields. It offers the matching credential for that site. One click fills in the username and password. You never type the password, and you never see it.
Autofill matches by website address. That is also a security feature. If a phishing page uses a lookalike address, the manager will not offer your real login, because the address does not match. That mismatch is a warning worth noticing.
Managers also fill more than passwords. 1Password and Bitwarden can autofill credit card details, addresses, and identities into checkout forms. They can also store the one-time codes for two-factor authentication, so the code appears next to the login instead of in a separate app.
Password Managers Compared
| Feature | Bitwarden | 1Password | Browser built-in (Chrome) |
|---|---|---|---|
| Vault encryption | AES 256-bit, zero-knowledge | AES 256-bit, zero-knowledge | Encrypted, tied to Google account | Master password | Yes | Yes, plus 34-character Secret Key | No separate master password |
| Works across browsers | Yes | Yes | Best inside Chrome |
| Password generator | Yes | Yes | Yes |
| Breach monitoring | Yes | Yes, via Watchtower | Yes, via Password Checkup |
| Open source | Yes | No | No |
Browser managers are convenient, but they are tied to one ecosystem. A standalone manager works across every browser and device. It also keeps your passwords separate from your browser account, which is useful if that account is ever compromised.
What Happens If You Forget Your Master Password?
This is the hard part. In a zero-knowledge design, the company cannot reset your master password. It does not have the key. Bitwarden states this plainly. If you lose the master password and have no recovery method set up, the vault cannot be opened.
That is why recovery must be set up in advance. Options vary by product. Some managers let you designate a trusted emergency contact. Some offer a printed recovery kit with your Secret Key, as 1Password does. Some support biometric unlock on your phone, which keeps the vault open without typing the password each time. Set up at least one recovery option on day one. Store the recovery details somewhere safe, offline, and separate from the vault.
Write down the master password too, on paper, in a safe place. It sounds old-fashioned. It is the simplest backup for the one password you cannot afford to lose.
How to Set One Up in Five Steps
- Pick a manager. Choose one with a published security white paper and third-party audits. Bitwarden and 1Password both publish theirs.
- Create a strong master password. Use a long passphrase of random words. Make it one you can remember and no one else can guess.
- Install the apps and extension. Add the browser extension and the mobile app, then sign in on each device.
- Import your saved passwords. Most managers import from your browser or another manager in a few clicks.
- Fix the weak and reused ones. Run the built-in security check. Replace reused and weak passwords first, starting with email and banking.
Bottom Line
A password manager replaces dozens of passwords you have to remember with one you must protect. Your logins sit in an encrypted vault that only your master password can open. Autofill puts the right password in the right site, and the generator makes each one unique. The trade-off is real: forget the master password without a recovery method, and the vault stays locked. Set up recovery on day one, then let the manager do the remembering.