[GH-ISSUE #2165] Possibility to Inject user db credentials programatically (how to update credentials-config.json) #662

Closed
opened 2026-03-07 20:52:48 +03:00 by kerem · 0 comments
Owner

Originally created by @Fran-Rg on GitHub (Nov 24, 2023).
Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2165

Hi,

I'm working on some automation around db management and I'm interested in providing the users with private connections programatically. I found the relevant files to update are:

  • user-projects/USER/.dbeaver/data-sources.json
  • user-projects/USER/.dbeaver/credentials-config.json

While the first one is simple to understand, the second one is encoded. What's the way to decode in order to update it?

I see that this is partially repeated on https://github.com/dbeaver/cloudbeaver/wiki/User-credentials-storage
But it doesn't point to where and what the encryptions are.

PS: amazing job on this tool

Originally created by @Fran-Rg on GitHub (Nov 24, 2023). Original GitHub issue: https://github.com/dbeaver/cloudbeaver/issues/2165 Hi, I'm working on some automation around db management and I'm interested in providing the users with private connections programatically. I found the relevant files to update are: * user-projects/USER/.dbeaver/data-sources.json * user-projects/USER/.dbeaver/credentials-config.json While the first one is simple to understand, the second one is encoded. What's the way to decode in order to update it? I see that this is partially repeated on https://github.com/dbeaver/cloudbeaver/wiki/User-credentials-storage But it doesn't point to where and what the encryptions are. PS: amazing job on this tool
kerem 2026-03-07 20:52:48 +03:00
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#662
No description provided.