v1.4.1 — Vaultwarden import helper
·
10 commits
to main
since this release
Highlights
New bootstrap phase installs the Bitwarden CLI and generates a ready-to-import JSON of every platform credential — so right after bootstrap finishes, you can load the whole stack into Vaultwarden with a few clicks.
What's new
Added
- Phase 11 —
scripts/11-vaultwarden-import.sh
Runs automatically after the Keycloak OIDC phase:-
Waits for Vaultwarden at
https://localhost:8443. -
Installs
bwvia the pre-built zip fromvault.bitwarden.com(single native binary, ~50 MB, installs in seconds). Falls back tobrew install bitwarden-cliif the download fails.- Why not brew first? The brew formula compiles from source on Apple Silicon and can take 10+ minutes.
-
Renders
./vaultwarden-import.jsonfrom the current.env:Kind Items Logins (8) ArgoCD, Gitea, Keycloak admin, Keycloak dev SSO user, Grafana, Prometheus, Portal, Vaultwarden admin panel Secure notes (3) Gitea PostgreSQL creds, Keycloak PostgreSQL creds, OIDC client IDs + secrets -
Prints import instructions for both the web UI and the
bwCLI.
-
.gitignorenow blocksvaultwarden-import*.jsonandbitwarden-export*.jsonfrom accidental commits.
Changed
scripts/bootstrap.sh— phase 11 wired in between10-configure-oidc.shand the completion banner; the banner directs the user to the import file.
How to use
After ./bootstrap.sh finishes:
1. Open https://localhost:8443 → accept self-signed cert
2. Create account — set a strong master password
3. Tools → Import data
4. File format: Bitwarden (json)
5. Select file: vaultwarden-import.json
6. Import data
# Then delete the plaintext:
rm vaultwarden-import.json
Or use the CLI:
export NODE_TLS_REJECT_UNAUTHORIZED=0
bw config server https://localhost:8443
bw login <email-you-registered>
export BW_SESSION=\$(bw unlock --raw)
bw import bitwardenjson vaultwarden-import.json
rm vaultwarden-import.jsonFull changelog
See CHANGELOG.md.