Initial data configuration
Overview
This document provides guidelines for configuring details about administrator credentials and predefined teams in the CloudBeaver, including their IDs, names, descriptions, and assigned permissions.
Info
For more details on configuration, see the CloudBeaver server configuration.
Example configuration
The path to the initial data configuration file is specified in the server.database.initialDataConfiguration
section
of the main server configuration file.
Tip
By default, the file is located at /opt/cloudbeaver/conf/initial-data.conf
.
{
adminName: "cbadmin",
adminPassword: "cbadmin20",
teams: [
{
subjectId: "admin",
teamName: "Admin",
description: "Administrative access. Has total and full authority.",
permission: ["admin"]
},
{
subjectId: "user",
teamName: "User",
description: "Standard user",
permission: []
}
]
}
Configuration properties
Name | Description |
---|---|
adminName |
Admin name. |
adminPassword |
Admin password. |
subjectId |
ID for the team. |
teamName |
Name for the team. |
description |
Team description. |
permissions |
Permissions for the team. Only two roles are available: administrators and other users. To assign admin access, specify "admin" . |
Note
By default, admin configurations are not created automatically, but you can create them manually if needed.