Skip to content

Authentication

First Log In

To log in for the first time the default user and password is admin admin. After you log into the web-ui you will alert to change the default admin password.

First Login

Authentication

One of the key features that KubeDash adds to Kubernetes is centralized user management. This feature allows to set up local users and/or connect to an external OIDC authentication provider. By connecting to an external authentication provider, you can leverage that provider's user and groups.

First Login

Configure OIDC provider

To add an OIDC provider to KubeDash go to Settings > Auth Provider:

Parameter Description
Redirect URI https://yourKubDashHostURL
Identity Provider URL The URL of your IdP.
Identity Provider Client ID The Client ID of your IdP client.
Identity Provider Client Secret The generated Secret of your IdP client.

Configure OIDC provider

Authorization

Once an user logged in to KubeDash the their access rights within the system, is determined by the user's role. There i two role in KubeDash User and Admin. This role determinate what you can configure in KubeDash.

Role-Based Access Control (RBAC)

From kubernetes perspective all of your privileges are determined by Role-Based Access Control (RBAC). The KubeDash Admin role allow you to use the KubeDash pod's cluster-admin ServiceAccount for the interactions with the kubernetes API.

With the Local role KubeDash use your OIDC token for the same purpose, so you have the same privileges as in the cli.