- ManageEngine OpManager: Comprehensive monitoring for on-prem, cloud, and containers - Thu, Mar 23 2023
- Install K3s, a lightweight, production-grade Kubernetes distro - Mon, Mar 20 2023
- VMware NSX Advanced Load Balancer: Installation and configuration - Fri, Mar 10 2023
Since KeePass is a traditional password manager, it requires "line of sight" access to a local file to read the KeePass database information. However, when you use KeePass with a cloud storage service app such as Dropbox, Google Drive, Microsoft OneDrive, etc., you can synchronize your KeePass database between multiple devices.
As a high-level overview, you want to configure your mobile devices (iPhone and Android) and Windows PCs with the same cloud storage provider and install the appropriate synchronization apps to synchronize files.
Sync workflows between Windows, iPhone, and Android
It is arguably easiest to configure everything on a Windows PC. The initial steps for getting KeePass configured for synchronization between devices involve the following workflow:
- Install KeePass.
- Create a new KeePass database.
- Install a cloud storage synchronization app.
- Install KeePass mobile apps.
- Interact with KeePass entries.
Install KeePass for Windows
To download a copy of KeePass, visit the KeePass downloads page. You can download either the EXE or the ZIP file. Here, I am executing the KeePass installer. The installation process is straightforward and is basically a "next, next, finish" process. When selecting the components for installation, accepting the defaults is fine for most.
Create a database
After launching KeePass, choose the far left icon under the File menu to create a new KeePass database.
When you choose to create the new KeePass database, choose the location for the cloud storage service you want to use between your Windows PC and your mobile device. Below, I am using OneDrive.
Create the new KeePass database and choose a master password. Next, name the database.
When it creates the new KeePass database, the wizard will ask if you want to create an emergency sheet with the details of the security information.
In the next step, we begin creating entries. We will populate the database with a couple of sample entries. Right-click and choose Add Entry.
Below, we have created a new record called TestEntry.
Mobile apps for KeyPass for Windows
Many options are available for KeePass, both on iPhone and Android devices. Let's briefly look at a few apps you can use in conjunction with a cloud storage sync app.
iPhone
- KeePass Touch
- KeePassium
- Strongbox
- AuthPass - (both iOS and Android support)
- PassDrop 2
Android
Sync passwords between Windows and smartphones
I have an Android device where I have the OneDrive app opened with the same account used in the above walkthrough, where the KeePass database was created. As you can see below, we see the KeePass database synchronized to OneDrive storage on the Android device. The view below is of the mobile OneDrive client.
Switching back to the KeePassDroid client, when you click Open, you can navigate to your OneDrive storage and select the KeePass database created earlier.
After selecting the KeePass database synchronized to OneDrive storage, you are prompted for the master password configured when the KeePass database was created.
After opening the KeePass database, the TestEntry record is available for viewing.
This same general process works no matter which cloud service is used or if you are using an iPhone. You will install the KeePass mobile app of your choice and open the synchronized file on the device. Keep in mind that this is a multimaster model. You can make updates and changes from any device. Once cloud storage synchronizes with each device, the changes will be reflected, no matter which device is used.
Final notes
KeePass is a great solution that is free and open source. It provides many security features, and when combined with modern cloud storage, you can sync passwords with KeePass between Windows PCs, iPhones, and Android devices.
Subscribe to 4sysops newsletter!
In addition, there are many KeePass mobile apps available that are free to use. It is easy to synchronize your KeePass entries between multiple devices.
I’m using Google drive but I can’t see the kdbx file. I can see it only using the windows keepass program. Hence, I can’t open it on my mobile.. help please. Thanks
how did u create the file on google drive, from KeePass program? Did you find a solution to your problem
It doesn’t seem like a good idea to directly synchronize the open database in keepass.
It can lead to broken database file sometimes.
You should better open a local not shared database and use trigger to synchronize with shared ones.
You will find more information about this ont the official keepass website : https://keepass.info/help/kb/trigger_examples.html#dbsync