MoleDB Help

Passwords

MoleDB does not put a database password in the connection file.

When the macOS Keychain can be opened, passwords are stored there, under the service name moledb. The password field then says that MoleDB stores passwords in the OS credential vault, not in a project file. Your AI provider key uses the same vault. See AI assistant.

If the Keychain cannot be opened, MoleDB does not store passwords until it works again, or until you choose the encrypted file. That file is secrets.enc.json in ~/Library/Application Support/moledb/, next to a key file secrets.key. The file is encrypted with AES-256-GCM. It is not the Keychain: anyone who can read that folder can decrypt it. Choose it only if you understand that.

MoleDB does not select the encrypted file on its own. An explicit choice is saved in that same folder and stays in effect.

A password is sent only to the database you are connecting to, from your Mac. The Privacy Policy describes how to remove the folder and the Keychain entries.