mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.43k stars 290 forks source link

Make SSL Requirements Optional #1281

Open KerickHowlett opened 4 months ago

KerickHowlett commented 4 months ago

Is your feature request related to a problem? Please describe. My company uses Bastion to SSH into certain AWS RDS (Postgres) instances; however, they don't have SSL certifications set up for these connections (for some reason).

From what I can tell, SQL Tools will not work WITHOUT a SSL certification.

(Although, I was told about this problem secondhand, so I may have this wrong or could be misunderstanding.)

Describe the solution you'd like A means to toggle (enable/disable) the SSL requirement.

Describe alternatives you've considered An additional JSON property setting within individual database configurations.

The property will accept the following three string values:

Configuration Example:

{
    "database": "production",
    "driver": "PostgreSQL",
    "group": "ACME",
    "name": "Production",
    "port": 22,
    "previewLimit": 50,
    "server": "localhost",
    "username": "john1234",
    "ssl": "automatic" // <---- HERE
}