Export your bitwarden or vaultwarden credentials vault to a KeePass kdbx file.
Folder structure is replicated.
As bitwarden supports multiple URLs and keepass/keepassxc does not, URL 1 is used.
Notes are added and appended to the note is a JSON string containing the rest of the entry.
Uses @bitwarden/cli to export the vault and keepassxc to generate the kdbx file.
- KP_PATH="/export/vault.kdbx"
Path where the .kdbx will be saved to. - BW_SERVER="https://vault.bitwarden.eu"
Target server
URL of the warden instance to connect to. - BW_CLIENTID=""
API key client
Used to login to the target server. - BW_CLIENTSECRET=""
API key secret
Used to login to the target server. - BW_PASSWORD=""
Master password
Used to unlock the vault.