Help Center> Distributed Cache Service> User Guide> Managing Passwords> Changing Password Settings for DCS Redis Instances
Updated on 2022-12-08 GMT+08:00

Changing Password Settings for DCS Redis Instances

Scenario

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

  • To enable public access for a DCS Redis 3.0 instance, you must change the instance to password-protected mode before enabling public access.
  • To access a DCS Redis instance in password-free mode, you can enable password-free access to clear the existing password of the instance.
  • To change the password setting, the DCS Redis instance must be in the Running state.
  • Password-free access may compromise security. You can set a password by using the password reset function.
  • For security purposes, password-free access must be disabled when public access is enabled.

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 Redis 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.