- New features in VMware vSphere 8 - Mon, Dec 5 2022
- Split-brain DNS deployment using Windows Server DNS policy - Wed, Nov 30 2022
- Veeam Backup for Microsoft 365—Why you need to back up your M365 data - Tue, Nov 15 2022
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.
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.