Skip to content

Initial data configuration

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 Default value Units Description
adminName cbadmin string Admin name.
adminPassword SuperSecretPassw00rd string Admin password.
subjectId - string ID for the team.
teamName - string Name for the team.
description - string Team description.
permissions ["admin"] / [] list of strings 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.