Initial data configuration
This document provides guidelines for configuring administrator credentials and predefined teams in the CloudBeaver, including their IDs, names, descriptions, and assigned permissions. The configuration is applied during the first server initialization. If you need to add new teams later, create them through the UI.
Tip
By default, the file is located at {WORKSPACE}/conf/initial-data.conf (see Workspace location for details).
For more details on configuration, see the CloudBeaver server configuration.
Example configuration¶
{
adminName: "cbadmin",
adminPassword: "cbadmin_password",
teams: [
{
subjectId: "admin",
teamName: "Admin",
description: "Administrative access. Has total and full authority.",
permissions: ["admin"]
},
{
subjectId: "user",
teamName: "User",
description: "Standard user",
permissions: []
}
]
}
Configuration properties¶
| Name | Description |
|---|---|
subjectId |
ID for the team. |
teamName |
Name for the team. |
description |
Team description. |
adminName |
Admin name. |
adminPassword |
Admin password. |
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.