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

Configuring a Memcached Password

Scenario

DCS Memcached instances can be accessed with or without passwords. After an instance is created, you can change its password setting in the following scenarios:

  • If you want to access a password-protected DCS Memcached instance without the username and password, you can enable password-free access to clear the username and password of the instance.

    The Memcached text protocol does not support username and password authentication. To access a DCS Memcached instance by using the Memcached text protocol, you must enable password-free access to the instance.

  • If you want to access a password-free DCS Memcached instance using a username and password, you can set a password for the instance using the password reset function.

Procedure

  1. Log in to the DCS console.
  2. Click in the upper left corner of the management console and select the region where your instance is located.
  3. In the navigation pane, choose Cache Manager.
  4. To change the password setting for a DCS Memcached instance, choose Operation > More > Reset Password in the row containing the chosen instance.
  5. In the Reset Password dialogue box, perform either of the following operations as required:

    • From password-protected to password-free:

      Switch the toggle for Password-Free Access and click OK.

    • From password-free to password-protected:

      Enter a password, confirm the password, and click OK.