Skip to Content
Platform.Ontology

Password manager and Credential Management API

Browsers and password managers fill saved logins and let a site read or store a credential.

Works without askingSign in and identitySigned inWeb browsersWhen you are signed inWhile you use it

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

BrowserStatusFirst versionReleasedNote
ChromeSupported512016-05-25None
EdgeSupported792020-01-15None
FirefoxNot supportedNot availableNot listedAutofill works but no PasswordCredential
SafariNot supportedNot availableNot listedAutofill only
Safari on iPhoneNot supportedNot availableNot listedAutofill only
Chrome on AndroidSupported512016-06-08None
Samsung InternetSupported5.02016-12-15None

How a site asks for it

APInavigator.credentials.get({password: true}); autocomplete=username, current-password
Browser compat keysapi.PasswordCredential
api.CredentialsContainer.get
How access is grantedgesture
What the user seesNone
Needs a secure context (HTTPS)Yes
Needs a user gestureYes
How long it lastsSaved until the person deletes it in the password manager
How to take it backClear site data, browser privacy settings
Inside an iframeNot listed

Typical flow

  1. Site calls credentials.get
  2. Browser shows account chooser
  3. Site receives username and password

Data you get

What comes back: Username and password
Shape: object
How often: on sign in

FieldTypeUnitRangePrecision
passwordstringtextanyexact

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

TypeExampleApps
shoppingA 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
gamesA 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
mediaA 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+
bankingA bank page marks its fields so the password manager fills them safely and warns when the page is not the real domain.None named
productivityA new hire signs in to many work web apps in a day, each filled in by the manager.Slack, Salesforce
securitySecurity 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

Good uses and abuse

Legitimate uses

  • Faster sign in

Known abuse

  • Credential stuffing when passwords are reused

Scores

ScoreValueMeaning
Sensitivity5 of 5How revealing the data is
Utility4 of 5How useful it is to honest apps
Friction1 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2016-05, Chrome 51: PasswordCredential shipped

Sources

How well checked: Based on official documentation.

On this page