TLS, SSH, and cloud auth
Connect through encrypted transport, an SSH tunnel, or short-lived cloud credentials.
TLS certificates
Enable TLS in the connection editor and provide CA, client certificate, or private-key files when your server requires them. Keep hostname verification enabled for remote databases.
- PostgreSQL: with chain validation on, a CA cert file makes Querly trust only that CA, which is how you connect to a server signed by your own private CA. The certificate is checked before your password is sent. Through an SSH tunnel, the name is checked against the database host, not
localhost. - SQL Server: the connection is always encrypted, but the server certificate is not checked. Use a trusted network or an SSH tunnel.
SSH tunnels
Turn on SSH in the connection editor, then provide the bastion host, user, port, and authentication method. Querly opens the tunnel before the database connection and closes it with the session.
Reuse SSH config
Named hosts from ~/.ssh/config appear in the connection editor. Querly reads host, user, port, and identity file defaults; wildcard profiles are ignored.
Host production-db
HostName bastion.example.com
User deploy
IdentityFile ~/.ssh/id_ed25519AWS RDS IAM
For supported RDS workflows, Querly can generate a temporary IAM authentication token instead of storing a long-lived database password.
Google Cloud and Azure CLI
PostgreSQL connections can request short-lived access tokens from an installed and signed-in gcloud or az CLI. Tokens are used for the connection and are not stored.
Use a database account limited to the schemas and operations you need, especially for production connections.