Help Center/ Distributed Cache Service/ FAQs/ Redis Commands/ How Do I Rename High-Risk Commands?
Updated on 2023-09-28 GMT+08:00

How Do I Rename High-Risk Commands?

Currently, you can only rename the COMMAND, KEYS, FLUSHDB, FLUSHALL, HGETALL, SCAN, HSCAN, SSCAN, and ZSCAN commands. For details, see Renaming Commands.

  • Currently, Redis does not support disabling of commands. To avoid risks when using the preceding commands, rename them. For details about the supported and disabled commands in DCS, see Command Compatibility.
  • After you confirm the modification, the system will restart the instance. The new commands take effect after the restart. Remember the new command names because they will not be displayed on the console for security purposes.