Allow preconfiguring connection type value in data-sources.json (e.g. PostgreSQL Passfile) and/or document how to do this #778

Open
opened 2026-03-04 10:57:46 -05:00 by deekerman · 0 comments
Owner

Originally created by @webketje on GitHub (Sep 11, 2024).

Originally assigned to: @yagudin10 on GitHub.

Is your feature request related to a problem? Please describe.
It looks like it's currently not possible to preconfigure a connection to use a .pgpass file. The use case is a Dockerfile extending dbeaver/cloudbeaver:latest, setting ENV PGPASSFILE='/opt/cloudbeaver/conf/pgpass.conf', intended to be deployed on Openshift (using volume mounts and/or docker run --env and/or docker build --build-arg args)

Describe the solution you'd like
I would like to be able to preconfigure the value "PostGreSQL Passfile" in the dropdown in the screenshot below as part of the data-sources.json connection spec. It already allows host, port, user, if it had a connectionType it could easily match a .pgpass file line with the rest of the connection's parameters. If this solution does exist, please make it easier to find in the docs? I've searched them for about an hour.
image

Currently this is the only obstacle standing in the way of a fully automated containerized DB GUI solution. Another acceptable solution would be a way to pre-generate the credentials-config.json

Originally created by @webketje on GitHub (Sep 11, 2024). Originally assigned to: @yagudin10 on GitHub. **Is your feature request related to a problem? Please describe.** It looks like it's currently not possible to preconfigure a connection to use a `.pgpass` file. The use case is a Dockerfile extending `dbeaver/cloudbeaver:latest`, setting `ENV PGPASSFILE='/opt/cloudbeaver/conf/pgpass.conf'`, intended to be deployed on Openshift (using volume mounts and/or docker run --env and/or docker build --build-arg args) **Describe the solution you'd like** I would like to be able to preconfigure the value "PostGreSQL Passfile" in the dropdown in the screenshot below as part of the `data-sources.json` connection spec. It already allows host, port, user, if it had a `connectionType` it could easily match a .pgpass file line with the rest of the connection's parameters. If this solution does exist, please make it easier to find in the docs? I've searched them for about an hour. ![image](https://github.com/user-attachments/assets/1a1ca251-09d8-4b5a-8ba8-13de8a835372) Currently this is the only obstacle standing in the way of a fully automated containerized DB GUI solution. Another acceptable solution would be a way to pre-generate the `credentials-config.json`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudbeaver#778
No description provided.