Safeguard Docs
Credentials Vault

Import from a browser or password manager

Move saved logins exported from Chrome, Edge, Brave, Arc, Opera, Firefox, Safari, 1Password, Bitwarden, LastPass or any CSV file into your Personal store with the Safeguard CLI, with a review step before anything is saved.

Import from a browser or password manager

safeguard vault import reads a password export file, shows you what it holds, lets you choose which logins to bring in, and saves them to your Personal store. Each login is encrypted on its own. Imports never go to the Shared store.

1. Export your logins

SourceWhere to export
Chrome, Edge, Brave, OperaSettings, Passwords, Export
FirefoxPasswords, Export Logins
SafariFile, Export, All Passwords
1Password, Bitwarden, LastPassExport, CSV
ArcArc has no password export of its own. Export from another browser, or use --from csv
Anything elseA CSV file with name, site, username and password columns, --from csv

The export file holds every password in plain text. Keep it somewhere only you can read, and delete it when the import is done.

2. Preview the import

safeguard vault import --from chrome ~/Downloads/passwords.csv --dry-run

--dry-run lists what would be imported (name, site and username, and the password only as "set") and stops. Nothing is sent.

3. Import

safeguard vault import --from chrome ~/Downloads/passwords.csv

The CLI shows the logins, lets you pick which to import, and asks you to confirm. To import every new login without asking, for example in a script, add --yes. Add --json for one JSON result object (it needs --yes or --dry-run, because it cannot ask).

Duplicates

A login whose site and username are already in your Personal store, or that appears earlier in the same file, is a duplicate.

OptionWhat happens to a duplicate
--on-duplicate skip (default)It is left out, and the stored login is not touched.
--on-duplicate updateThe stored login's password is replaced with the one in the file.

What is recorded

Imported logins are tagged imported and with their source, so you can find them later. Each new login's history shows that it was written by an import, and each batch is recorded with counts and the source only (imported, updated, skipped, rejected), never a password or a site.

Limits

  • The CLI sends logins in batches of up to 500, so a large export goes in several batches.
  • A login needs a password, and a site or a name.
  • A password can be up to 4,096 characters, and notes up to 10,000.

Rolling out

These are not available yet. See PAM capabilities rolling out.

  • Import in the web app, including directly from a browser on your computer through Safeguard Desktop.
  • KeePass and .env files, a choice to keep both copies of a duplicate, and filing imported logins into a folder.

On this page