Basic authentication

This article describes how to enable basic authentication for services:

  • Schema Registry

  • Kafka REST Proxy

  • ksqlDB

To enable Basic authentication with ADCM, do the following:

  1. On the cluster configuration tab in the configuration settings tree, enable the BASIC Authentication switch.

    Enabling BASIC Authentication on the ADS cluster
    Enabling BASIC Authentication on the ADS cluster

    The nodes that open show the default values ​​for the admin user:

    • in the node Basic Auth username:password map: password for the user (the default password for the admin user is admin);

    • in the node Basic Auth username:role map: the role assigned to the user (the default role for the admin user is admin).

      BASIC Authentication configuration
      BASIC Authentication configuration
      User roles

      The roles that can be assigned to users are defined on the service configuration page using the authentication.roles parameter in the Basic Auth properties group.

      authentication.roles parameter
      authentication.roles parameter

      Multiple roles can be specified separated by commas. To be authorized to work in the service, the authenticated user must belong to at least one of these roles.

  2. Save the configuration by clicking Save.

  3. Restart all services for which authentication has been configured. To do this, apply the action Restart by clicking on the actions default dark actions default light in the Actions column.

After successfully applying the Basic Auth action, the connection to the services is made after the specified user is authenticated.

Found a mistake? Seleсt text and press Ctrl+Enter to report it