Skip to Content

Built-in Authentication

Build-in authentication is a simple username-password authentication method that allows you to manage users and roles.

Authentication Setup

  1. Before installing ScaleOps built-in authentication, the Admin user credentials are displayed in the Settings page.

    View_simple_auth_configuration step 1

  2. Add the following helm values to your helm values.yml file:

    authProvider: provider: builtInAuth
  3. After installing ScaleOps with built-in authentication, the Admin user credentials are displayed in the Settings page.

    View_simple_auth_configuration step 2

User Management

Customize user configuration by creating a scaleops-builtin-auth-config secret with the following example content:

kind: Secret apiVersion: v1 metadata: name: scaleops-builtin-auth-config namespace: scaleops-system stringData: users: | [ { "username": "admin-user", "password": "custom-admin-password", "role": "admin" }, { "username": "operator-user", "password": "custom-operator-password", "role": "operator" }, { "username": "viewer-user-1", "password": "custom-viewer-password-1", "role": "viewer" }, { "username": "viewer-user-2", "password" : "custom-viewer-password-2", "role": "viewer" } ]