-
Notifications
You must be signed in to change notification settings - Fork 563
Configuring server datasources
As an administrator, you can pre-configure database connections for your CloudBeaver server. Users just pick a connection from the toolbar and enter their credentials - no other setup needed on their side.
Connections are defined in data-sources.json. For the full file structure and field reference,
see data-sources.json reference.
If you deploy the server repeatedly, you can include credentials directly in data-sources.json instead of setting them
up in the UI each time.
Warning: Credentials in
data-sources.jsonare stored in plain text until the first connection. Make sure no unauthorized users have access to the server config files during this time.
To pre-configure credentials:
- Add
auth-propertieswith your credentials todata-sources.json. The fields depend on the auth model - see auth model reference. - Start the server.
- Open the connection in the UI for the first time.
- CloudBeaver encrypts the credentials, removes them from
data-sources.json, and users can connect from now on without entering credentials.
You can control which users and teams have access to each pre-configured connection. For details, see Pre-configured permissions for connections.
- Getting started
- Create connection
- Connection network options
- Supported databases
-
Drivers management
- Database authentication methods
- Connections
- Properties editor
- Data editor
- SQL editor
- AI Assistant
-
Entity relation diagrams
- Cloud services
- Data transfer
- General user guide
- Administration
- Server configuration
-
Server security and access configuration
- Authentication methods
- Access management
- Proxy configuration
-
Secret management
- Logs
-
Query manager
- Workspace location
- Command line parameters
-
Session manager
- Deployment options
- CloudBeaver Editions
- FAQ
- Development