Updated on 2024-03-15 GMT+08:00

Creating a SASL_SSL User

DMS for Kafka supports ACL permission management for topics. You can differentiate the operations that different users are allowed to perform on a topic by granting the users different permissions.

This section describes how to create a SASL_SSL user after SASL_SSL is enabled for a Kafka instance. For details about how to grant user permissions, see Configuring Topic Permissions.

For Kafka instances created before July 15, 2023, a maximum of 20 users can be created for each instance. For Kafka instances created since July 15, 2023, a maximum of 500 users can be created for each instance.

This function is unavailable for single-node instances.

Prerequisites

SASL_SSL has been enabled when you create the Kafka instance.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the region where your Kafka instance is located.

  3. Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
  4. Click the desired Kafka instance to view the instance details.
  5. On the Users page, click Create User.
  6. In the displayed Create User dialog box, set the username, password, and description, and click OK.

    After the SASL_SSL user is created, grant permissions to the user by referring to Configuring Topic Permissions.