Cloud Storage in iKeePass iOS
iKeePass uses the native iOS Files dialog to securely store your KeePass database in various cloud services. This gives you full control and allows you to sync your database across all devices.
Supported Cloud Services
| Cloud Service | Status | App Required |
|---|---|---|
| Apple iCloud Drive | Natively integrated | None |
| Nextcloud | Supported | Nextcloud App |
| Google Drive | Supported | Google Drive App |
| Microsoft OneDrive | Supported | OneDrive App |
| Dropbox | Supported | Dropbox App |
Prerequisites
Before you start, make sure that:
- The corresponding cloud app is installed on your iPhone/iPad
- You are signed in to the cloud app
- The cloud app is enabled in iOS “Files”
Enable Cloud Service in “Files”
- Open the Files app on your iPhone/iPad
- Tap Browse (bottom right)
- Tap the … symbol (top right)
- Select Edit
- Enable the desired cloud service (e.g., Nextcloud, Google Drive)
- Tap Done
Step-by-Step Guide
Create a New Database in the Cloud
- Open iKeePass on your iPhone/iPad
- Tap Create New Database
- Enter a name and master password
- In the file dialog: Select your cloud service (e.g., iCloud Drive, Nextcloud)
- Navigate to the desired folder
- Tap Save
The database is now stored in your cloud and automatically synchronized.
Open an Existing Database from the Cloud
- Open iKeePass on your iPhone/iPad
- Tap Open Database
- The iOS Files dialog opens
- Select your cloud service in the sidebar
- Navigate to your
.kdbxfile - Tap the file to open it
- Enter your master password
Cloud-Specific Instructions
Apple iCloud Drive
Benefits:
- Natively integrated in iOS
- Automatic synchronization
- No additional app required
Setup:
- Go to Settings > [Your Name] > iCloud
- Enable iCloud Drive
- In iKeePass: Select iCloud Drive in the file dialog
Nextcloud
Benefits:
- Self-hosted option available
- Full data control
- Open source
Setup:
- Install the Nextcloud App
- Sign in with your Nextcloud account
- In the Files app: Enable “Nextcloud” (see above)
- In iKeePass: Select Nextcloud in the file dialog
Tip: Create a dedicated folder like /KeePass/ for your databases.
Google Drive
Benefits:
- 15 GB free storage
- Seamless integration with Google services
Setup:
- Install the Google Drive App
- Sign in with your Google account
- In the Files app: Enable “Google Drive”
- In iKeePass: Select Google Drive in the file dialog
Microsoft OneDrive
Benefits:
- Integration with Microsoft 365
- 5 GB free storage
Setup:
- Install the OneDrive App
- Sign in with your Microsoft account
- In the Files app: Enable “OneDrive”
- In iKeePass: Select OneDrive in the file dialog
Understanding Synchronization
How Does Synchronization Work?
+-------------------+ +-------------------+
| iKeePass iOS | | Cloud Service |
| (Database) | <------> | (Storage) |
+-------------------+ iOS +-------------------+
Files |
API |
v
+-------------------+
| Other Devices |
| (Mac, Windows, |
| Android, etc.) |
+-------------------+
- iKeePass saves/reads through the iOS Files dialog
- The cloud app automatically synchronizes the file
- Other devices can retrieve the updated file
Conflict Handling
If you edit the database on multiple devices simultaneously:
| Situation | Behavior |
|---|---|
| Change on one device | Automatic synchronization |
| Changes on multiple devices | Cloud service creates conflict copy |
| Offline editing | Sync on next connection |
Recommendation: Close the database on one device before opening it on another.
Security Notes
Your Data is Safe
- The database is AES-256 encrypted before reaching the cloud
- Only you know the master password
- The cloud provider cannot read your passwords
Best Practices
| Recommendation | Why |
|---|---|
| Strong master password | Protects the encrypted file |
| Use Argon2id KDF | Makes brute-force attacks harder |
| 2FA for cloud account | Protects against unauthorized access |
| Regular backups | Protects against data loss |
Troubleshooting
Cloud Service Doesn’t Appear in File Dialog
- Check if the cloud app is installed
- Open the Files app and enable the service (see above)
- Restart iKeePass
Synchronization Doesn’t Work
- Check your internet connection
- Open the cloud app and wait for sync
- Check if there’s enough storage space
Database is Read-Only
- Check permissions in the cloud app
- Make sure you’re not offline
- Check if the file is open on another device