Skip to main content

import

Import a CSV file of another password manager, or a KeePass KDBX file, as the browser extension imports it.

import​

Import the resources of a file into a new folder named import-<date>, with the folders of the file below it. Each resource is tagged with that name.

passbolt import --file <FILE> [flags]

Flags​

FlagRequiredDescription
-f, --file <FILE>YesThe CSV or KDBX file to import. A CSV format is recognised from its columns; a file ending in .kdbx is read as a KeePass database.
-p, --password <PASSWORD>NoPassword of the KDBX file.
--keyfile <FILE>NoKey file of the KDBX file.
--no-foldersNoPut every resource at the root of the import folder, without the folders of the file.
--no-tagsNoDo not tag the imported resources with the name of the import.
  • Each row gets the resource type that stores what it holds (password, description, TOTP…). A password of 4 to 12 digits alone becomes a PIN code. The resources are personal.
  • The rows, folders or resources not imported are listed, and the command then fails with <N> items were not imported.

The CSV formats are those of export csv.

Examples​

Import a CSV file​

passbolt import -f vault.csv
Imported <N> resources and <N> folders in import-<date>

Import without folders or tags, and print JSON​

passbolt import -f vault.csv --no-folders --no-tags --json

Import a KeePass file with its password​

passbolt import -f vault.kdbx -p "<KDBX_PASSWORD>"

Import a KeePass file with its key file​

passbolt import -f vault.kdbx --keyfile vault.key

KDBX​

A file ending in .kdbx is read as a KeePass database, KDBX 3 or 4, opened with its password (-p, --password), its key file (--keyfile) or both.

  • Every group becomes a folder, the root group included, and every entry a resource.
  • An entry keeps its title, user name, URL and the KP2A_URL URLs after it (32 URLs at most), its notes as description, its expiry date and its TOTP (otp URI of KeePassXC, or the TimeOtp-* fields of KeePass).
  • For v5 resources, the other fields become text custom fields, and the KeePass icon and background colour are kept.