Password manager and Credential Management API
Browsers and password managers fill saved logins and let a site read or store a credential.
In one line
Can fill your saved login once you pick it, and offer to save new ones
Browsers and password managers fill saved logins and let a site read or store a credential.
A site learns the username the person chose, not the password manager's other entries. The Credential Management API lets a site request a saved credential after a gesture. Reused passwords across sites are the main account risk.
What it can and can't do
What the user does: You tap the username box or Sign in, then choose a saved login
It can
- Show your saved username and password for that site in a picker
- Fill the login form with the account you choose
- Offer to save a new login after you sign in
- Keep you signed in using what your browser or password manager stores
It cannot
- See saved logins for other sites
- See your whole password manager list; it only gets the entry you pick
- Fill in a login without a tap, click or key press on the page
- Work the same in every browser; support differs
How it differs between platforms: Chrome and Edge support the Credential Management API. Firefox and Safari fill logins through their own built in autofill instead.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 51 | 2016-05-25 | None |
| Edge | Supported | 79 | 2020-01-15 | None |
| Firefox | Not supported | Not available | Not listed | Autofill works but no PasswordCredential |
| Safari | Not supported | Not available | Not listed | Autofill only |
| Safari on iPhone | Not supported | Not available | Not listed | Autofill only |
| Chrome on Android | Supported | 51 | 2016-06-08 | None |
| Samsung Internet | Supported | 5.0 | 2016-12-15 | None |
How a site asks for it
| API | navigator.credentials.get({password: true}); autocomplete=username, current-password |
| Browser compat keys | api.PasswordCredentialapi.CredentialsContainer.get |
| How access is granted | gesture |
| What the user sees | None |
| Needs a secure context (HTTPS) | Yes |
| Needs a user gesture | Yes |
| How long it lasts | Saved until the person deletes it in the password manager |
| How to take it back | Clear site data, browser privacy settings |
| Inside an iframe | Not listed |
Typical flow
- Site calls credentials.get
- Browser shows account chooser
- Site receives username and password
Data you get
What comes back: Username and password
Shape: object
How often: on sign in
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
password | string | text | any | exact |
Technical limits
- Cannot enumerate other sites' logins
- Needs a secure context
- PasswordCredential is Chrome only
- Fields are filled only after a click or chooser
The story
What it is
Your browser or password manager fills in saved logins, and a site can ask for one.
For you
You tap a login box and your saved username pops up. One tap fills the password. You may also see an offer to save a new login after you sign up.
For makers
Easy autofill means fewer abandoned sign ups and fewer 'forgot password' emails. Sites mark their forms with the right labels so managers can fill them, and they can safely offer to store the new login.
Where you see it
| Type | Example | Apps |
|---|---|---|
| shopping | A returning shopper taps the email box on a store checkout and the saved login fills in, so they buy before they change their mind. | Amazon, Target |
| games | A player returns to a game store or launcher login page and one tap fills the account, getting them to a new release quickly. | Epic Games, Steam |
| media | A streaming site shows a saved profile so a person can sign in on a smart TV browser or laptop without typing a long password. | Netflix, Disney+ |
| banking | A bank page marks its fields so the password manager fills them safely and warns when the page is not the real domain. | None named |
| productivity | A new hire signs in to many work web apps in a day, each filled in by the manager. | Slack, Salesforce |
| security | Security teams use leaked password checks in the manager to nudge users to change reused passwords. | None named |
Risks
- Fills on lookalike pages if careless
- One master password guards everything
What the platform says
- Apple: Passwords app and AutoFill. Apple presents saved passwords and passkeys as easy to fill across iPhone, iPad and Mac.
Good uses and abuse
Legitimate uses
- Faster sign in
Known abuse
- Credential stuffing when passwords are reused
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 5 of 5 | How revealing the data is |
| Utility | 4 of 5 | How useful it is to honest apps |
| Friction | 1 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2016-05, Chrome 51: PasswordCredential shipped
Related capabilities
Related
- Passkeys and WebAuthn sign in. Can sign you in with a passkey after your fingerprint, face or PIN
Sources
How well checked: Based on official documentation.