Credential Management - Interactive Lab | IconVault

Try the real Credential Management API: password credential flows, passkey creation and mediation modes. Free, runs fully in your browser.

All tools

Credential Management

Password and passkey credential flows

5 of 5 free uses left

Support matrix

navigator.credentialsno
PublicKeyCredential (WebAuthn)no
Platform authenticatorunknown
Conditional mediationunknown

Password credential flow

5 of 5 free runs left. Everything happens on this device, nothing is sent anywhere.

API log

Run a flow on the left to see real API calls and results here.

Last result

No result yet.

optional returns a stored credential silently when there is exactly one, required always shows the account chooser, silent never shows UI and returns null instead.

The passkey button calls the real platform authenticator (Touch ID, Windows Hello, or a security key). On a fresh profile you will see the native prompt; canceling it is a normal, honest result and is logged above.

About this tool

IconVault's Credential Management playground talks to the real `navigator.credentials` API in your browser: request stored password credentials with optional, required or silent mediation, create a demo passkey through your platform authenticator, and block silent access with `preventSilentAccess()`. Every call and its result is logged with the exact API shape, so you see what production sign-in code actually receives. It is free and runs fully in your browser.

You will learn why `get()` returns null on a fresh profile, how the three mediation modes differ in UI behavior, what a real WebAuthn creation ceremony returns (credential id, clientDataJSON, attestation object), and how conditional mediation powers passkey autofill. Nothing leaves your device: the passkey demo uses a random challenge on the current origin and never sends data anywhere.

Frequently asked questions

Popular searches

credential management apinavigator.credentialscredentials api javascriptpasswordcredentialcredential management api examplewebauthn tutorialpasskey democreate passkey javascriptnavigator.credentials.createnavigator.credentials.getpublickeycredentialpasskey authenticationwebauthn examplemediation optional required silentconditional mediationpasskey autofillpreventsilentaccesspassword credential apibrowser credential managerwebauthn rp idattestation noneclientdatajsonauthenticatorattestationresponseuser verification discouragedplatform authenticatorisuserverifyingplatformauthenticatoravailablepasskey vs passwordfido2 webhow passkeys workcredential api browser supportcaniuse credential managementpasswordless login webwebauthn javascript tutorialpasskey demo sitetest webauthn onlinecredentialrequestoptionspassword credential mediationstore password credentialfederatedcredentialotpcredentialwebauthn origin checkpasskey challengewebauthn timeoutexcludecredentialsauthenticatorselectionpubkeycredparamswebauthn error notallowederrorpasskey localhost testcredential management mdnsign in with passkey codewebauthn frontendpasskey ux best practices

More tools

Coming soon

CLI

Coming soon

Figma plugin

Coming soon

VS Code extension

Coming soon

Chrome extension

Coming soon

AI icon generator

Coming soon

Team workspaces

Coming soon

View all 10+ tools →