danvergara / dblab

The database client every command line junkie deserves.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSL connection related flags for Postgres

danvergara opened this issue · comments

Is your feature request related to a problem? Please describe.
When it comes to SSL connection, dblab assumes that you have the default files set in your system (e.g., ~/.postgresql/root.crt) and there's no way to customize this behavior right now.

Describe the solution you'd like
dblab should provide flags like --sslcert, --sslkey and --sslrootcert at least.

Describe alternatives you've considered
Another way to solve would adding a flag that receives a string with custom values like --custom='sslrootcert=/path/to/root.crt'