Multiple Databases With KeePass
I use the password manager KeePass as my password manager. This means I often use very difficult to remember passwords such as Pdb"ZEo`<
1 as my password. Troy Hunt has a good post on why one should use a password manager. Together with KeePass I use Kee (formerly KeeFox) for auto filling of entries.
I recently decided to split up my password database in multiple databases. If the option Remember and automatically open last used database on startup
(in Options
→ Advanced
)is checked, only one of the databases will open, thus this is not very helpful when I have three databases I’d like to open when starting KeePass. To enable opening of multiple databases I can use the Triggers
functionality.
Setting up triggers
- Open up
Tools
→Triggers
. - Check
Enable trigger system
. - Press the
Add...
button on the right hand side. - In the
Name
field, enter a fitting name, such asOpen db 1
. - Ensure to check
Enabled
andInitially on
. - Change to
Events
tab - Press the
Add...
button on the right hand side. - Select the event
Application started and ready
. - Press
OK
. - Change to
Actions
tab - Press the
Add...
button on the right hand side. - Select the action
Open database file
- In the field
File/URL
enter the path to the database file without any quotes. - If you’d like to have the database unlocked automatically2, enter the information required for unlocking.
- Press
OK
. - Press
Finish
. - Repeat steps 3 – 17 above for other databases you wish to open.
- Press
OK
. - Restart KeePass and all your databases should open upon startup of KeePass.