Adds alpha support for connecting to Redshift/Postgres via an SSH tunnel.
Currently this needs to be configured manually, by editing the .df-credentials.json
file directly.
Example credentials JSON file for SSH tunnels
{
"username": "db-username",
"databaseName": "dev",
"password": "db-password",
"port": 5439,
"host": "internal-redshift-pg-hostname",
"sshTunnel": {
"host": "x-x-x-x-x.compute-1.amazonaws.com",
"port": 22,
"privateKey": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpAI.......42qzB6+Ow==\n-----END RSA PRIVATE KEY-----",
"username": "ssh-username"
}
}