Help › Tunnels, sign-in and passwords

Choose where passwords are kept

Keep a database or SSH password in the keychain, have Querlyn ask every time, or fetch it from a password manager.

Querlyn 0.1.0 is not released yet. This help describes it ahead of release.

Querlyn's own files never hold a password. For each connection you choose where its password lives, under Where the password is kept in the connection dialog. The same choice exists for each SSH hop's password or key passphrase.

The choices

ChoiceWhat happens
Save in KeychainThe password is stored in your Mac's keychain. Querlyn keeps only a reference to the keychain item.
Ask every timeNothing is stored. Querlyn asks for the password when it connects, keeps it in memory while the connection is open, and forgets it when the connection closes.
1Password, Vault, LastPass, Bitwarden, AWS Secrets Manager, Azure Key VaultYou give a reference to the item, not the password. Querlyn fetches the password from the manager each time it connects. See Use a password manager.

Where the password is kept is a list: the two choices of this computer first, the password managers under Secret managers. Save in Keychain is what a new connection starts with.

What you see when a password is saved

Querlyn never loads a saved password back into the dialog. When you edit a connection whose password is in the keychain, the field shows dots and the line Saved in Keychain. Type to replace it, or choose Remove saved password; either takes effect when you save the dialog. See Manage connections.

When Querlyn asks for a password

Querlyn asks in a small window with a masked field and the buttons Connect and Cancel. ↩ on macOS or Enter on Windows and Linux connects. Cancel stops that connection attempt.

It asks whenWhat happens to your answer
The connection is set to Ask every timeKept in memory until the connection closes.
The connection is set to Save in Keychain but has no saved password yet, and the server wants oneSaved in the keychain once the connection has succeeded. A wrong password saves nothing.

The second case is what you meet after importing connections, after removing a saved password, and on a computer that received the connection through sync without its password. Querlyn first tries without a password, so servers that let you in without one keep working, and asks only when the server refuses.

Test Connection never saves a password.

While a connection is open

A connection's password stays in memory while the connection is open, because each new tab opens its own session and some databases need the password again to cancel a running query. It is wiped from memory when the connection closes.

What else is in the keychain

Besides its database password, a connection can have these in the keychain: the SSH passwords and key passphrases you chose to save, the refresh token of a Microsoft Entra ID sign-in set to Stay signed in (Keychain), and a Snowflake key passphrase or token.

Deleting a connection removes its items from the keychain.

What is never stored or shown

  • Passwords are not written to Querlyn's settings file, its database of connections, its logs, the query history or the statement console.
  • A private key's contents are never copied. Querlyn stores the key file's path and reads the file when it connects.
  • Passwords are not synced unless you turn that on; see Sync your computers.

Help for Querlyn 0.1.0. All help topics