Who gets into CloudBeaver
and with which account.
Four scenarios: changing the administrator's password, team login through LDAP, login through Active Directory, and who can create connections. Each one covers: the chart default, what changes in the cluster, and the values file commented line by line.
The tdp-cloudbeaver chart starts CloudBeaver with the local login and an administrator with a temporary password. LDAP, which also serves Active Directory, comes disabled. When enabled, it sits alongside the local login, and the password of the directory's technical user lives in a Secret that you create before the installation. Who can create their own connections is another decision, independent of the login.
Your environment
If you fill in your environment details here, the examples and commands on the page use what you entered. The namespace, the release name, and the values file are your choices, not the chart's.
Scenarios
- 1 · Initial credentials
- 2 · Login through LDAP
- 3 · Active Directory
- 4 · Who creates connections
Set the administrator's password at installation, in place of the temporary one.
This scenario sets the CloudBeaver administrator's password, the local account that manages connections and teams.
The chart creates the CloudBeaver administrator on the first start, to skip the setup wizard, and uses a temporary password, the same one across all TDP charts. You want to install already with your own password. It goes in a private values file, kept out of Git, and the chart also stores it in the tdp-cloudbeaver-admin-secret Secret. CloudBeaver only reads this password with a clean workspace: after the first start, the change is made through the interface.
User from initialData.adminName (it cannot be admin) and the temporary password ChangeMe!T3c, from adminSecret.data.password. Replace it before using CloudBeaver for anything beyond testing.
The workspace lives in the release's PVC, and helm uninstall deletes it: a new installation starts clean. With persistence.existingClaim, the PVC is yours. Delete or empty it before reinstalling.
The administrator password on first start
- Who signs in. Only the local login exists: the administrator created by the chart and the users it registers in CloudBeaver. Chart default:
local login only. - CloudBeaver. Without LDAP, CloudBeaver offers only the local login. Chart default:
LDAP off. (tdp-cloudbeaver.ldap.enabled) - cloudbeaver.conf. Generated by the chart from the values file. It lists the login providers in enabledAuthProviders and, with LDAP enabled, carries the LDAP provider block. Before CloudBeaver starts, the sync-workspace-config init container puts the bind password in it, read from the Secret. Chart default:
enabledAuthProviders: local. - Fixed name: tdp-cloudbeaver-admin-secret. Holds the administrator's password, which CloudBeaver reads on the first start, with the workspace empty. After that, the password is changed through the interface. Chart default:
temporary password. (tdp-cloudbeaver.adminSecret.data.password)
1tdp-cloudbeaver:2adminSecret:3 data:4 password: "<PASSWORD>"
Applies only to a clean workspace. Changing this value and running helm upgrade on a workspace that has already started does not change the password.
- Administrator password (linha 4). Applies only to a clean workspace. Changing this value and running helm upgrade on a workspace that has already started does not change the password.
Install with your values file
On a clean workspace, the administrator is created with your password.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-cloudbeaver \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>
--version pins the chart version. Without --version, Helm installs the latest published version.
It worked when
initialData.adminName and the password from your file.If the old password still works
The workspace was not clean. Change the password through the CloudBeaver interface or, to start from scratch, uninstall the release (the workspace PVC goes with it) and install again.
The team signs in with the directory account, alongside the local login.
This scenario turns on the LDAP login: the team signs in to CloudBeaver with the company directory account, without registering user by user.
CloudBeaver has an LDAP provider, which the chart leaves disabled: by default, only the local login exists. When enabled, LDAP appears on the login page alongside the local login, which remains valid for the administrator. CloudBeaver connects to the directory with a technical user, the bind. The bind password lives in a Secret that you create before the installation, and the chart reads it from the Secret named in ldap.bind.passwordSecretName.
Local login only. ldap.enabled off.
The login path, with and without LDAP
Who signs in
- Who signs in. Only the local login exists: the administrator created by the chart and the users it registers in CloudBeaver. Chart default:
local login only. - CloudBeaver. Without LDAP, CloudBeaver offers only the local login. Chart default:
LDAP off. (tdp-cloudbeaver.ldap.enabled) - cloudbeaver.conf. Generated by the chart from the values file. It lists the login providers in enabledAuthProviders and, with LDAP enabled, carries the LDAP provider block. Before CloudBeaver starts, the sync-workspace-config init container puts the bind password in it, read from the Secret. Chart default:
enabledAuthProviders: local. - Fixed name: tdp-cloudbeaver-admin-secret. Holds the administrator's password, which CloudBeaver reads on the first start, with the workspace empty. After that, the password is changed through the interface. Chart default:
temporary password. (tdp-cloudbeaver.adminSecret.data.password)
Who signs in: Local login only (default)
- Who signs in. Only the local login exists: the administrator created by the chart and the users it registers in CloudBeaver. Chart default:
local login only. - CloudBeaver. Without LDAP, CloudBeaver offers only the local login. Chart default:
LDAP off. (tdp-cloudbeaver.ldap.enabled) - cloudbeaver.conf. Generated by the chart from the values file. It lists the login providers in enabledAuthProviders and, with LDAP enabled, carries the LDAP provider block. Before CloudBeaver starts, the sync-workspace-config init container puts the bind password in it, read from the Secret. Chart default:
enabledAuthProviders: local. - Fixed name: tdp-cloudbeaver-admin-secret. Holds the administrator's password, which CloudBeaver reads on the first start, with the workspace empty. After that, the password is changed through the interface. Chart default:
temporary password. (tdp-cloudbeaver.adminSecret.data.password)
Who signs in: Local login + LDAP
- Who signs in. On the login page, team members choose LDAP and sign in with their directory account. The local administrator keeps signing in through the LOCAL tab. Chart default:
local login only. - CloudBeaver. The LDAP provider sits alongside the local one. On every LDAP login, CloudBeaver binds with the technical user, looks up the user with the configured filter, validates the password, and creates or updates the user in CloudBeaver. Chart default:
LDAP off. (tdp-cloudbeaver.ldap.enabled) - cloudbeaver.conf. Generated by the chart from the values file. It lists the login providers in enabledAuthProviders and, with LDAP enabled, carries the LDAP provider block. Before CloudBeaver starts, the sync-workspace-config init container puts the bind password in it, read from the Secret. Chart default:
enabledAuthProviders: local. - Fixed name: tdp-cloudbeaver-admin-secret. Holds the administrator's password, which CloudBeaver reads on the first start, with the workspace empty. After that, the password is changed through the interface. Chart default:
temporary password. (tdp-cloudbeaver.adminSecret.data.password) - Bind Secret. Created by you before the installation, with the password of the directory's technical user. With LDAP enabled and without this Secret, the init container stops and the pod does not start. Chart default:
does not exist. (tdp-cloudbeaver.ldap.bind.passwordSecretName) - LDAP server. The directory with the team's accounts. Chart default:
not configured. (tdp-cloudbeaver.ldap.server.host)
Local login only, the default. Nothing to configure: the scenario 1 administrator and the users it registers in CloudBeaver sign in. To enable LDAP, choose the other option above. Local login only: Best suited when there is no company directory to use and the administrator registers the users in CloudBeaver itself. It is the default mode.
Local login + LDAP. The block below turns on the LDAP provider and sets the server, the technical user, and where to look up users. For an Active Directory, see scenario 3. Local login + LDAP: Best suited when the team already has accounts in an LDAP directory and should sign in with them, without registering user by user.
Local login and LDAP are valid at the same time. On every LDAP login, CloudBeaver binds with the technical user, looks up the user with userSearch.filter and userSearch.userIdAttribute, validates the password, and creates or updates the user in CloudBeaver.
1tdp-cloudbeaver:2ldap:3 enabled: true4 server:5 host: "<LDAP_HOST>"6 port: 3897 useSSL: false8 bind:9 dn: "uid=<BIND_USER>,cn=users,dc=<DOMAIN>,dc=com"10 passwordSecretName: "tdp-cloudbeaver-ldap-bind"11 passwordSecretKey: "password"12 userSearch:13 baseDN: "cn=users,dc=<DOMAIN>,dc=com"14 filter: "(objectClass=person)"15 userIdAttribute: "uid"
The chart adds the LDAP provider to cloudbeaver.conf, alongside the local login.
- Enables LDAP (linha 3). The chart adds the LDAP provider to cloudbeaver.conf, alongside the local login.
- Server (linha 5). The host and port of your LDAP server.
- SSL (linha 7). Enables LDAPS. In production, use LDAPS whenever the directory offers it.
- Technical user (linha 9). The DN of the user CloudBeaver uses to connect to the directory and look up the users.
- Bind password (linha 10). The Secret with the technical user's password. It must exist in the namespace before the installation. Without it, the pod does not start.
- Key in the Secret (linha 11). The Secret key that holds the password.
- Where to search (linha 13). The base where the users who will sign in to CloudBeaver live.
- Filter (linha 14). LDAP filter that selects the users.
- Identifier (linha 15). The attribute that identifies the user. If the users have no uid, use the attribute they have.
Create the Secret with the bind password
The chart reads the technical user's password from this Secret, in the release namespace.
If the namespace does not exist, create it before the Secret:
kubectl create namespace <NAMESPACE>
kubectl -n <NAMESPACE> create secret generic tdp-cloudbeaver-ldap-bind \
--from-literal=password='<LDAP_BIND_PASSWORD>'
Replace the placeholder with the technical user's password. It stays only in the command.
It worked when
kubectl -n <NAMESPACE> get secret tdp-cloudbeaver-ldap-bind.Apply the values file
CloudBeaver restarts with the LDAP provider enabled.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-cloudbeaver \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>
It worked when
kubectl get configmap <RELEASE_NAME>-cloudbeaver-conf -n <NAMESPACE> -o yaml
enabledAuthProviders lists "local" and "ldap", and authConfigurations carries the LDAP provider with "disabled": false. On the login page, the LDAP option appears, and a directory user signs in with their own account.
If the pod stops at the init container
The bind Secret does not exist in the namespace or has a different name or key. See the corresponding symptom in When something goes wrong.
The same LDAP provider, with the attributes AD uses.
This scenario turns on the Active Directory (AD) login, with the same LDAP provider as scenario 2.
The company directory is an AD. The configuration starts from the LDAP one and changes a few attributes in the ldap block:
- Login name. In AD, the person signs in by
sAMAccountName. SetuserSearch.loginAttribute: "sAMAccountName"anduserSearch.filter: "(sAMAccountName=*)". - Identifier. In AD, the entry's DN is built from the
cn(CN=<user>,...), and CloudBeaver extracts the user identifier from that DN. SetuserSearch.userIdAttribute: "CN", in uppercase, anduserSearch.userNameAttribute: "cn". - Where the accounts live. The bind uses the technical account's full DN: AD accounts without a
userPrincipalNamedo not bind by UPN. Provide inbind.dnthe full DN of the technical account (in the example,CN=<BIND_USER>,CN=Users,DC=<DOMAIN>,DC=<TLD>) and, inuserSearch.baseDN, the base where the accounts live (in the example,CN=Users,DC=<DOMAIN>,DC=<TLD>).
userIdAttribute is the RDN attribute of the user's DN, not the login attribute. With userIdAttribute: "sAMAccountName", the login fails with Failed to determine userId from user DN. Adjustment 2 avoids this.
The bind Secret and the procedure are the same as in scenario 2. The complete file is right below, with each line explained.
LDAP off. When enabled, the default attributes are those of a regular LDAP (uid).
Login through Active Directory
- Who signs in. On the login page, team members choose LDAP and sign in with their directory account (the AD sAMAccountName and password). The local administrator keeps signing in through the LOCAL tab. Chart default:
local login only. - CloudBeaver. The LDAP provider sits alongside the local one. On every LDAP login, CloudBeaver binds with the technical user, looks up the user with the configured filter, validates the password, and creates or updates the user in CloudBeaver. Chart default:
LDAP off. (tdp-cloudbeaver.ldap.enabled) - cloudbeaver.conf. Generated by the chart from the values file. It lists the login providers in enabledAuthProviders and, with LDAP enabled, carries the LDAP provider block. Before CloudBeaver starts, the sync-workspace-config init container puts the bind password in it, read from the Secret. Chart default:
enabledAuthProviders: local. - Fixed name: tdp-cloudbeaver-admin-secret. Holds the administrator's password, which CloudBeaver reads on the first start, with the workspace empty. After that, the password is changed through the interface. Chart default:
temporary password. (tdp-cloudbeaver.adminSecret.data.password) - Bind Secret. Created by you before the installation, with the password of the directory's technical user. With LDAP enabled and without this Secret, the init container stops and the pod does not start. Chart default:
does not exist. (tdp-cloudbeaver.ldap.bind.passwordSecretName) - Active Directory. The domain controller. CloudBeaver uses the same LDAP provider; the attributes change: login by sAMAccountName and identifier CN. Chart default:
not configured. (tdp-cloudbeaver.ldap.server.host)
1tdp-cloudbeaver:2ldap:3 enabled: true4 server:5 host: "<AD_HOST>"6 port: 3897 useSSL: false8 bind:9 dn: "CN=<BIND_USER>,CN=Users,DC=<DOMAIN>,DC=<TLD>"10 passwordSecretName: "tdp-cloudbeaver-ldap-bind"11 passwordSecretKey: "password"12 userSearch:13 baseDN: "CN=Users,DC=<DOMAIN>,DC=<TLD>"14 filter: "(sAMAccountName=*)"15 userIdAttribute: "CN"16 userNameAttribute: "cn"17 loginAttribute: "sAMAccountName"1819app:20 supportsCustomConnections: true
The host of your domain controller. For LDAPS, useSSL: true and the controller's LDAPS port.
- Domain controller (linha 5). The host of your domain controller. For LDAPS, useSSL: true and the controller's LDAPS port.
- Bind by full DN (linha 9). The full DN of the technical account in AD.
- Bind password (linha 10). The same Secret from scenario 2, created before the installation.
- Identifier (linha 15). The RDN attribute of the user's DN: CN, in uppercase.
- Login (linha 17). The attribute the person signs in with: sAMAccountName.
- Own connections (linha 20). Lets AD users create their own connections. With false, they use only the pre-registered connections or those created by the administrator (scenario 4).
Create the Secret with the bind password
The same Secret as LDAP, with the AD technical account's password.
kubectl -n <NAMESPACE> create secret generic tdp-cloudbeaver-ldap-bind \
--from-literal=password='<LDAP_BIND_PASSWORD>'
Apply the values file
CloudBeaver restarts with the LDAP provider pointing to AD.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-cloudbeaver \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>
It worked when
sAMAccountName and its password.If Failed to determine userId from user DN appears
userSearch.userIdAttribute must be CN, in uppercase, and loginAttribute must be sAMAccountName.
Allow or not the creation of own connections by users.
This scenario decides whether authenticated users can create their own connections to data sources.
By default, CloudBeaver hides the New connection action from everyone: users only use the pre-registered connections or those created by the administrator. When you enable LDAP or AD, you decide whether directory users can create their own connections. The local administrator always signs in through the LOCAL tab to manage connections and teams, whatever this choice is.
1tdp-cloudbeaver:2app:3 supportsCustomConnections: true
true: authenticated users see New connection and register their own data sources. false, the default: only the pre-registered connections or those created by the administrator. A CLOUDBEAVER_APP_SUPPORTS_CUSTOM_CONNECTIONS variable in extraEnvVars takes precedence over this value.
- Own connections (linha 3). true: authenticated users see New connection and register their own data sources. false, the default: only the pre-registered connections or those created by the administrator. A CLOUDBEAVER_APP_SUPPORTS_CUSTOM_CONNECTIONS variable in extraEnvVars takes precedence over this value.
Apply the values file
The New connection action appears, or not, for authenticated users.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-cloudbeaver \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>
It worked when
true) or does not see it (with false).When something goes wrong
Troubleshooting
Paste the error message or pick the symptom. The answer comes with the cause, what to do, and the command.
- The LDAP option does not appear at login. Cause: LDAP did not reach cloudbeaver.conf: ldap.enabled is not enabled in the applied values file. What to do: In the ConfigMap, enabledAuthProviders must list "ldap" and authConfigurations must carry the LDAP provider with "disabled": false. Also check the logs.
- Pod stuck in init: bind password Secret is not mounted. Cause: LDAP is enabled, but the Secret with the bind password does not exist in the namespace, or has a different name or key. What to do: Create the Secret with the name from ldap.bind.passwordSecretName and the key from ldap.bind.passwordSecretKey, and restart the pod.
- LDAP authentication failure. Cause: The pod cannot reach the LDAP server, the bind password in the Secret is wrong, or the user is not under userSearch.baseDN. What to do: Test the connection from the pod, check the password stored in the Secret, and confirm that userSearch.baseDN contains the users.
- Failed to determine userId from user DN. Cause: userSearch.userIdAttribute is not the RDN attribute of the user's DN. In Active Directory, the login is by sAMAccountName, but the identifier comes from the DN (CN=...). What to do: In AD, use userIdAttribute: "CN", in uppercase, and loginAttribute: "sAMAccountName".
- User attributes not found. Cause: The directory users do not have the attribute configured in userSearch.userIdAttribute. What to do: Check a user's attributes with ldapsearch and adjust userIdAttribute.
- The administrator's password did not change after helm upgrade. Cause: The adminSecret.data.password password only applies on the first start, with the workspace empty. What to do: Change the administrator's password through the CloudBeaver interface. To return to a clean workspace, see the Initial credentials scenario.
Best practices
- Replace the administrator's temporary password before using CloudBeaver for anything beyond testing.
- Use LDAPS (
useSSL: true) in production. - Use a dedicated bind technical user, with the minimum permissions.
- Keep the LDAP server reachable only from authorized networks.
- Do not store passwords in Git: use private values files, Kubernetes Secrets, and, in production, a secrets management tool.
All parameters
Filter by name or by group. The chart prefix is already filled in.
16 of 16 parameters
| Parameter | Description | Chart default |
|---|---|---|
tdp-cloudbeaver.initialData.adminNameAdministrator | Administrator user (it cannot be admin) | cbadmin |
tdp-cloudbeaver.adminSecret.nameAdministrator | Secret with the administrator's password | tdp-cloudbeaver-admin-secret |
tdp-cloudbeaver.adminSecret.data.passwordAdministrator | Administrator's password. Only applies to a clean workspace | ChangeMe!T3c |
tdp-cloudbeaver.ldap.enabledLDAP | Enables login through LDAP, alongside the local login | false |
tdp-cloudbeaver.ldap.server.hostLDAP | Host of the LDAP server or the domain controller | "" |
tdp-cloudbeaver.ldap.server.portLDAP | LDAP server port | 389 |
tdp-cloudbeaver.ldap.server.useSSLLDAP | Enables LDAPS | false |
tdp-cloudbeaver.ldap.bind.dnLDAP | DN of the bind technical user | "" |
tdp-cloudbeaver.ldap.bind.passwordSecretNameLDAP | Secret with the bind password (without a value, the chart looks for tdp-cloudbeaver-ldap-bind) | "" |
tdp-cloudbeaver.ldap.bind.passwordSecretKeyLDAP | Key of the password in the Secret | password |
tdp-cloudbeaver.ldap.userSearch.baseDNLDAP | Base where users are searched | "" |
tdp-cloudbeaver.ldap.userSearch.filterLDAP | LDAP filter for the users | (objectClass=person) |
tdp-cloudbeaver.ldap.userSearch.userIdAttributeLDAP | Attribute that identifies the user (in AD, CN) | uid |
tdp-cloudbeaver.ldap.userSearch.userNameAttributeLDAP | Attribute with the user's name (in AD, cn) | givenName |
tdp-cloudbeaver.ldap.userSearch.loginAttributeLDAP | Attribute the person signs in with (in AD, sAMAccountName) | uid |
tdp-cloudbeaver.app.supportsCustomConnectionsConnections | Lets authenticated users create their own connections | false |
Next steps
Configuration
CloudBeaver Configuration
First contact, resources, publishing on a URL, and metadata in PostgreSQL.