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

Enabling and Disabling Security Authentication

Enabling Security Authentication

By default, security authentication is disabled for Nacos engines. You can enable security authentication on the console.

After security authentication is enabled, only accessible namespaces are displayed on the console. Clients without usernames and passwords cannot access Nacos instances. Exercise caution when performing this operation.

  1. Log in to CSE.
  2. In the left navigation pane, choose Registry/Configuration Center.
  3. Click the target Nacos engine.
  4. Choose Permission Control.
  5. Click Set Authentication and enable Authenticate Programming Interface.

  6. Click OK. After the Nacos engine is updated and the engine status changes from Configuring to Available, security authentication is enabled successfully.

Disabling Security Authentication

After security authentication is disabled, permissions of each user cannot be controlled. Clients can access Nacos instances without passwords, and all namespaces are displayed on the console. Exercise caution when performing this operation.

  1. Log in to CSE.
  2. In the left navigation pane, choose Registry/Configuration Center.
  3. Click the target Nacos engine.
  4. Choose Permission Control.
  5. Click Set Authentication. On the Security Settings page, disable Authenticate Programming Interface.
  6. In the displayed dialog box, click OK. When the status of the engine changes to Available, security authentication is disabled.