Skip to content

Instantly share code, notes, and snippets.

View ctrlcmdshft's full-sized avatar

Christopher Knudsen ctrlcmdshft

  • New Jersey
  • 03:18 (UTC -04:00)
View GitHub Profile
@ctrlcmdshft
ctrlcmdshft / Import_export_fields.md
Created October 24, 2025 17:22
Bitwarden export import fields

Below is a comprehensive list of all fields that can be included in the Bitwarden JSON format for import and export, based on the Bitwarden CLI documentation and the JSON import format specified at https://bitwarden.com/help/import-data/#bitwarden-import-format. These fields apply to both personal and organization vault exports/imports, with notes on where they are specific to one or the other. The list covers the root object, folders, collections, and items (including type-specific sub-objects).

Root-Level Fields

  • encrypted: Boolean (optional; e.g., false for unencrypted, typically present in organization exports).
  • folders: Array of folder objects (personal vaults; empty [] or omitted for organization vaults).
  • collections: Array of collection objects (organization vaults; empty [] or omitted for personal vaults).
  • items: Array of item objects (required; core vault data).

Folder Object Fields (in folders array)

  • id: String (UUID, required for referencing in items).
#!/bin/zsh
# Define color codes
RED="\033[31m"
GREEN="\033[32m"
YELLOW="\033[33m"
BLUE="\033[34m"
RESET="\033[0m"
# Define arrays to track installed and failed apps