PostgreSQL connector
The PostgreSQL connector is enabled in VegaFlow and operationally supported for saved connections.Required database settings
Choose exactly one authentication branch:
password_auth or ssh_tunnel_auth.
Password authentication
Store the database password in a Secret Vault, then select its secret reference.SSH-tunnel authentication
Use an SSH tunnel when the database is reachable only through a bastion. This branch requires:password_reffor the PostgreSQL passwordssh_host,ssh_user, andssh_host_fingerprintssh_port, which defaults to22and must be from 1 to 65535- Exactly one of
ssh_password_reforssh_private_key_ref - Optional
ssh_private_key_passphrase_refwhen the selected key is encrypted
SSL modes
disabledoes not require TLS. Use only for an explicitly trusted network and database configuration.requireencrypts the connection without full certificate identity verification.verify-carequires a certificate chain trusted by the runtime.verify-fulladditionally verifies that the server identity matches the requested host.
Create and validate
- Create every required database and SSH secret first.
- Open VegaFlow → Connections → PostgreSQL.
- Enter database settings and select one authentication method.
- Select secret references; never paste values into names or descriptions.
- Validate the connection.
- Save it and assign only the permissions needed by QuickFlow operators.
Troubleshooting
- A schema error usually indicates a missing required field, invalid port, unsupported SSL mode, both/neither authentication branches, or both/neither SSH credential types.
- A network failure can indicate DNS, routing, firewall, database listener, or bastion reachability.
- An authentication failure can indicate username, database password, SSH identity, or permission problems.
- A certificate failure can indicate CA trust, hostname mismatch, or an incorrect SSL mode.
- A fingerprint failure must be investigated, not bypassed.