User Agents

Web browsers and everyday web tech, explained

Password Managers Explained: Vaults, Autofill, Passkeys

· 6 min read · Browsers

In this article
  1. How Password Vaults Work
  2. Autofill: How It Recognizes and Fills Logins
  3. Passkeys: The Future of Passwordless Login
  4. How to Choose a Password Manager
  5. Safety and Security Considerations
  6. Common Problems and How to Fix Them
  7. Frequently Asked Questions

A password manager works by securely storing your login credentials in an encrypted digital vault, which can then autofill usernames and passwords on websites and apps; newer systems also support passkeys—a more secure, phishing-resistant alternative to passwords that use public-key cryptography. These tools simplify login processes while significantly improving security by eliminating weak, reused, or guessable passwords.

How Password Vaults Work

Password managers store your credentials—like usernames, passwords, and notes—in an encrypted database called a vault. This vault is protected by a master password, which only you know. When you log into the manager, it decrypts the vault locally on your device, so your data remains secure even if the cloud server is compromised. The encryption typically uses strong algorithms like AES-256, which is trusted by governments and financial institutions.

Each item in the vault is called a "login," "secure note," or "identity," depending on the type of data. Logins include the website URL, username, and password. The manager uses this URL to recognize which credentials to offer when you visit a site. Some password managers also store payment details and personal information for autofill during checkout or form submission.

The vault syncs across your devices using cloud services (like iCloud, Dropbox, or the provider’s own infrastructure) or local Wi-Fi syncing. Despite syncing, your data remains encrypted end-to-end—meaning only your devices can decrypt it. No one, including the password manager company, can access your stored passwords.

Autofill: How It Recognizes and Fills Logins

Autofill is a core feature that saves time and reduces errors when logging in. When you visit a website, the password manager scans the page for login fields (username and password inputs). It matches the site’s domain name (e.g., example.com) against entries in your vault. If a match is found, it offers to autofill the credentials.

On desktop browsers, this usually appears as a pop-up icon in the password field. On mobile, it may appear in the keyboard toolbar or as a system-level suggestion. Modern operating systems (iOS, Android) now support integrated autofill services, allowing password managers to work system-wide, not just in specific browsers.

For security, autofill typically requires authentication before revealing passwords—either by re-entering your master password, using biometrics (like Face ID or fingerprint), or confirming via a trusted device. This prevents unauthorized access if your device is unlocked but unattended.

Passkeys: The Future of Passwordless Login

Passkeys are a modern authentication method that eliminate the need for passwords. Instead of a shared secret (like a password), a passkey uses public-key cryptography: a unique key pair is generated—one private key stored securely on your device, and one public key stored by the service. When you log in, the website sends a challenge that only your private key can solve, proving your identity without transmitting the key itself.

Password managers now act as passkey managers, storing and syncing your private keys across devices using secure cloud sync (e.g., iCloud Keychain, Google Password Manager, or Bitwarden Passkeys). This allows you to use a passkey on your phone to log in from your laptop, even if you never manually transfer the key.

Passkeys are phishing-resistant because they are bound to specific websites. A fake paypal.com site cannot trigger your real PayPal passkey. They also prevent credential stuffing and password reuse attacks. Major platforms like Apple, Google, and Microsoft now support passkeys, and many password managers are integrating them directly into their vaults.

How to Choose a Password Manager

Selecting the right password manager depends on your needs, platform, and security priorities. Consider these factors:

  • Encryption model: Ensure it uses end-to-end encryption with zero-knowledge architecture—meaning even the provider can’t access your data.
  • Cross-platform support: Check compatibility with your devices (Windows, macOS, iOS, Android, Linux) and browsers (Chrome, Firefox, Safari, Edge).
  • Autofill reliability: Look for consistent autofill performance across websites and apps, especially on mobile.
  • Passkey support: Confirm whether the manager stores and syncs passkeys, and how they’re backed up (e.g., iCloud, Google Drive, proprietary sync).
  • Open-source: Open-source managers (like Bitwarden) allow independent security audits, increasing transparency and trust.
  • Price: Many offer free tiers with limited features; paid plans unlock family sharing, advanced 2FA options, and priority support.

Popular options include Bitwarden (open-source, affordable), 1Password (user-friendly, strong passkey support), and Keeper (enterprise-focused). Browser-built managers (like Chrome Password Manager or iCloud Keychain) are convenient but may lack advanced features or cross-browser support.

Safety and Security Considerations

Password managers are generally safer than reusing passwords or storing them in notes or spreadsheets. However, they are not invulnerable. The master password is the single point of failure—if compromised, an attacker could access all stored credentials. Therefore, it must be strong, unique, and never reused elsewhere.

Enable two-factor authentication (2FA) on your password manager account if available. This adds a second layer, such as a time-based code (TOTP) or biometric verification. Some managers support hardware keys (like YubiKey) for even stronger 2FA.

Be cautious of phishing attacks that mimic password manager prompts. Always verify the legitimacy of autofill suggestions and avoid entering your master password on suspicious sites. Also, keep your devices updated and use screen locks to prevent physical access.

Regularly audit your vault using built-in tools to find weak, reused, or compromised passwords. Many managers integrate with breach detection services (like Have I Been Pwned) to alert you if a stored password appears in a data leak.

Common Problems and How to Fix Them

While password managers are reliable, users sometimes encounter issues:

  • Autofill not working: This can happen due to site-specific JavaScript interference, incorrect URL matching, or browser extension conflicts. Try manually selecting the login from the vault or updating the saved URL to match the current site.
  • Synchronization delays: If your vault doesn’t sync across devices, check internet connectivity, app updates, and sync settings. Restarting the app or re-authenticating the account can resolve stuck syncs.
  • Forgotten master password: Unlike regular accounts, password managers cannot reset your master password—you lose access to your vault. Use a passphrase you can remember, or store recovery instructions securely offline.
  • Passkey sync failures: Passkeys rely on secure cloud backups. If syncing fails (e.g., iCloud not enabled), you may lose access to passkeys on new devices. Ensure cloud sync is active and your account is in good standing.

Frequently Asked Questions

Can a password manager be hacked?

While no system is 100% immune, reputable password managers use strong encryption that makes stealing usable data nearly impossible. Even if a server is breached, your vault remains encrypted. The biggest risk is a weak master password or malware on your device, not the manager itself.

Do I still need two-factor authentication if I use a password manager?

Yes. Two-factor authentication adds an extra layer of security for both your accounts and your password manager. Use 2FA wherever possible, especially for email, banking, and the password manager account itself.

Can I use a password manager on multiple devices?

Yes, most password managers sync across devices using encrypted cloud services. You can access your vault on phones, tablets, and computers. Ensure sync is enabled and your devices are authorized.

What happens if I lose my master password?

You lose access to your vault permanently. Password managers cannot recover it due to zero-knowledge design. Some offer emergency access or recovery codes—set these up in advance to avoid lockout.

Are built-in browser password managers safe?

They are better than nothing, but often lack advanced features like cross-browser sync, passkey management, or breach monitoring. They may also be less secure if your browser profile is compromised. Dedicated managers offer stronger protection.

How do passkeys work across devices?

Passkeys are synced via secure cloud services (e.g., iCloud, Google Password Manager). Your private key is encrypted and backed up, allowing you to use the passkey on new devices after authentication. Some also support transfer via QR code or NFC.