Today in PostgreSQL v2 state there is only the option to provide the connection string as a single metadata property. Eg. "host=localhost user=postgres password=example port=5432 connect_timeout=10 ...