Why I Left LastPass: Regaining Sovereignty Over My Credentials
A technical guide to Zero-Trust password management. Explore my architecture using Kubernetes, cert-manager for SSL, and on-demand WireGuard tunnels.
A few months ago, I hit a breaking point with my password management. I was trying to log into a site using LastPass backed by a YubiKey for hardware level MFA and the manager kept forcing the wrong credentials. After several failed attempts and a growing sense of frustration, I realized the friction wasn't just technical; it was philosophical.
The Problem with "Trust as a Service"
Beyond the UI glitches, a bigger question started nagging at me: Why am I giving my passwords to a third party? By using a cloud-based manager, I was providing a layer of trust to a corporation that I no longer felt comfortable giving. Even with MFA enabled across my accounts, the idea that my encrypted vault lived on someone else’s infrastructure started to feel like a liability. I wanted to eliminate the "what ifs" and take full ownership of my security stack.
Even the process of leaving proved my point. After migrating my data, I deleted all my passwords from their service, yet I am forced to wait for my remaining paid subscription period to end before I can delete my account entirely. While they provide assurances that no backups of my passwords remain once deleted, I find that difficult to believe in an era of snapshots and redundant cloud storage. This lack of true "delete" control was the final confirmation I needed.
Discovering Bitwarden and Vaultwarden
My search for a self-hosted, cross-platform solution led me to Bitwarden. It’s a rare trifecta in the software world:
- Ubiquity: It works seamlessly across my entire fleet from headless servers and workstations to my laptop and phone.
- Sovereignty: I host the infrastructure. My passwords stay on my hardware, under my rules.
- Performance: By using Vaultwarden (an open-source API implementation), I unlocked premium features like YubiKey authentication for free, all while running a lightweight backend.
One of the best parts of this ecosystem is that you don't need a special app. The official Bitwarden clients on all platforms allow you to simply plug in your custom domain name and point the app to your own self-hosted infrastructure. It's a first-class experience without the subscription fee.
Sovereignty Without Sacrifice: The Power of Local Caching
One of the most significant technical advantages of this setup is that it isn't cloud-dependent for every single request. Bitwarden uses a local encrypted cache on your devices.
This means I don't actually need a constant connection to log in. My vault syncs locally while I’m still at headquarters. By the time I walk out the door, a fully encrypted copy of my database is already living on my phone and laptop.
This is a lifesaver when traveling. If I’m in a foreign country with poor internet or on a flight with no Wi-Fi, my vault remains 100% accessible. I can still search for my credentials, use my YubiKey to unlock the app, and get into my accounts. The system is read-only while offline, but as soon as I hit a stable connection, my WireGuard tunnel kicks in and handles any background syncs or updates seamlessly.
Technical Breakdown: The Architecture
To make this experience truly "set it and forget it," I’ve moved away from consumer-grade setups and toward a more resilient, automated infrastructure.
1. The Backend: K8s and cert-manager
Instead of a simple Docker container, I run Vaultwarden on Kubernetes (K8s). This allows for better resource management and reliability.
- Automated SSL: I use cert-manager to handle my Let's Encrypt certificates. This ensures my custom domain is always served over a secure, up-to-date HTTPS connection without me ever having to manually renew a cert.
- MFA: Because Vaultwarden is API-compatible with Bitwarden's premium features, I was able to enable YubiKey (FIDO2/WebAuthn) for hardware-level security at the infrastructure level.
2. The Network: WireGuard with On-Demand Activation
I use a sophisticated WireGuard configuration to bridge the gap between "Headquarters" and the outside world. The goal is for the VPN to sleep while I’m on my trusted home Wi-Fi but wake up the second I hit an untrusted network.
- iOS: In the official WireGuard app, I enabled On-Demand Activation for both Cellular and Wi-Fi, using the "Except these SSIDs" setting for my home network.
- Android: I use automation like Tasker to toggle the tunnel based on my connection status.
- Split Tunneling: To keep performance high, I don't "Full Tunnel" all traffic. By setting the AllowedIPs to my internal IP range (for example, 10.0.0.0/24), my general browsing stays at local speeds while my vault traffic stays private.
I will create another post on how to properly setup WireGuard and will demonstrate performance advantages versus other open source alternatives like OpenVPN.
Final Thoughts: Freedom through Infrastructure
By moving to a self-hosted Vaultwarden instance and pairing it with WireGuard, I’ve achieved something LastPass couldn’t offer: Zero-Trust Sovereignty. I no longer have to worry about a third-party data breach or a service outage. My passwords are on my hardware, synced to my devices, and accessible anywhere in the world with or without a signal.
Field Log Discussion
Public @handle only · Private email hidden · Fenced code blocks supported
Join the architecture review under a self-chosen @handle. Your email address is never displayed publicly.
Loading discussion notes...