Integrated Browser PasswordsA password manager for the VS Code Integrated Browser. It fills your logins into pages, hands you two-factor codes, and keeps an encrypted vault that rides Settings Sync between machines - so signing in stays inside the editor, where you already are. InstallOpen the Extensions view in VS Code ( A Browser Passwords key icon shows up in the Activity Bar. Click it, pick a master password, and you have a vault. How it worksYour logins are encrypted with a key derived from your master password (scrypt) and sealed with AES-256-GCM. Only the ciphertext is stored - in the Each machine can optionally remember the unlocked key in its own OS keychain (via VS Code's secret storage, which does not sync) so you are not retyping the master password every session. When the vault isn't remembered, it re-locks automatically after a configurable idle time; when it is, it stays unlocked across windows and restarts until you lock it explicitly. A rolling history of backups - encrypted snapshots of the vault - is kept in VS Code's synced storage, so a recent version is always recoverable, even from another machine. Using itSet up the vaultThe first time you open the sidebar you'll be asked to choose a master password. Pick something you'll remember; there is no reset. After that, the sidebar shows your logins. If you open VS Code on another machine that's signed in to Settings Sync, the vault comes with it - you just unlock it with the same master password. Add a loginClick the + at the top of the sidebar (or Add login when the list is empty). Fill in a name and, ideally, the website - that's what's used to match pages later. Add a description (it replaces the username under the name in the list when set), a custom icon (any image, resized to 32x32), a username and password, generate a strong password with the Generate button if you like, and any extra fields (text notes, recovery codes, two-factor secrets, API keys). Save. Extra fieldsEvery login can carry an unlimited number of extra fields. Each has a name, a type (Text, Password, or MFA code), and a value. They appear in the row's right-click menu as Copy <field name>. The first MFA field shows inline under the password with its live code and countdown; the rest are hidden behind an Extra fields toggle at the bottom of the row. When a login has more than one MFA field and autofill needs to fill a one-time-code field, a small picker drops down over the field listing each code with its name and live countdown - click one to fill. FoldersClick the new-folder button at the top of the sidebar to create a folder, then drag logins onto a folder's header to file them there - or drag them onto the General header to take them back out. Drag a folder's header onto another folder to move it inside, or onto General to bring it back to the top level. Folder headers collapse, show how many logins are inside (counting subfolders), and right-click for Rename Folder, New Subfolder, and Delete Folder. Folders nest as deeply as you like; deleting one removes its subfolders too, but the logins that were inside stay in your vault, just ungrouped. The General group that holds ungrouped logins can be renamed too - right-click its header and choose Rename - it's just called "General" until you do. Searching and sortingThe toolbar above the list has a search button that shows or hides the search bar; the bar has match case and use regular expression toggles inside it, like the editor's find widget. The sort button next to it picks whether the list is ordered by name, website, or username, ascending or descending. Both stay the way you left them. Autofill in the Integrated BrowserOpen a site in the Integrated Browser and click into its username or password field. If you have a matching login, a small dropdown appears below the field; pick the entry and the username and password are filled in. If the page also has a one-time-code field and the login has exactly one MFA field, that's filled too; with more than one, a picker dropdown shows over the code field so you can choose. Sign in to a site with credentials that aren't in your vault yet and you'll be asked whether to save them. When existing logins on sibling subdomains of the same registrable domain (e.g. Two-factor codesAdd a two-factor secret as an extra field with type MFA code - a plain base32 string or a full PasskeysThe Integrated Browser has no built-in WebAuthn support - VS Code denies the When a site offers to register a passkey, a small picker appears over the page asking which existing login to save it on (or to create a new one for the site) and what to call it. Confirm and the passkey is stored as a When a site offers a passkey sign-in, a similar picker lists the stored passkeys that match it. Click one to sign in; sibling subdomains of the same registrable domain match the way autofill matches a saved login. Turn off A key icon next to a login's name marks logins that hold a passkey. Expand the row to see each passkey with its name and created / last-used dates, with a button to delete it; the same items also appear in the right-click menu. Passkeys can be removed from the edit form too, but not added there - registration only happens through a real Passkey support can be turned off entirely from the Copy things outEvery login has copy buttons for the username, the password, and the first MFA code - handy for the odd page that autofill can't reach, or for pasting somewhere outside the browser. Right-click a login for the same actions in one menu, plus opening its website, copying any extra field by name, editing, and deleting. TrashDeleting a login - with the trash button on its row, the Delete item in the right-click menu, or Delete in the edit form - moves it to the Trash view rather than removing it. The Trash view is a section in the Browser Passwords sidebar, below the login list. Hover a trashed login for its Restore and Delete Permanently buttons (or right-click it for the same), and use Empty Trash in the view's title bar to clear the lot. The two permanent deletes ask for confirmation; moving something to the trash doesn't, since it's a click away from being restored. Anything left in the trash for 30 days is removed automatically, on every machine. BackupsThe Backups view (a section in the sidebar, below the trash) keeps a rolling history of vault snapshots. A new one is taken automatically whenever your logins, folders, or trash change, and Backup Now in the view's title bar takes one on demand. Each backup is an encrypted copy of the vault - ciphertext only, like the live vault - and the history rides VS Code Settings Sync, so it follows you between machines. Right-click a backup for:
How many backups to keep is the Change your master passwordOpen the settings menu (the cog at the top of the sidebar) and choose Change Master Password. You'll be asked for your current password, then a new one; the vault is re-encrypted on the spot and re-synced. The new password works on every machine once the change syncs over. Import passwordsFrom the settings menu, choose Import Passwords... and pick a CSV file exported from another browser or password manager. The column layout is detected automatically - Chrome, Edge, Brave, Firefox, Safari / iCloud Keychain, Bitwarden, LastPass, KeePass, and most other CSV exports work. You'll see how many logins were found and which format was recognised before anything is added; your existing logins are left alone and exact duplicates are skipped. Most browsers export from their password settings (e.g. Chrome: Export passwordsFrom the settings menu, choose Export Passwords... to write your logins to a Chrome-compatible CSV file ( Lock the vaultClick the lock icon at the top of the sidebar, run Browser Passwords: Lock Vault, or just walk away and let the idle timer do it. Locking clears the decrypted vault and any remembered key from this machine. Settings
Commands
Security notes
SupportIf this is useful and you'd like to support its development, you can buy me a coffee on Ko-fi - always optional, always appreciated. LicenseMIT - see LICENSE. |
