2 ms·
https://github.com/antirez/redis/blob/unstable/redis.conf#L435 https://github.com/antirez/redis/blob/unstable/redis.conf#L4... # Command renaming. # It is pos
by nnx 11y ago
https://github.com/antirez/redis/blob/unstable/redis.conf#L435 https://github.com/antirez/redis/blob/unstable/redis.conf#L4...
# Command renaming.
# It is possible to change the name of dangerous commands in a shared
# environment.
# For instance the CONFIG command may be renamed into something
# hard to guess so that it will still be available for internal-use tools
# but not available for general clients.
#
# Example:
#
# rename-command CONFIG b840fc02d524045429941cc15f59e41cb7be6c52
#
# It is also possible to completely kill a command by renaming it into
# an empty string:
#
# rename-command CONFIG ""
I'm a big Redis fan, and have used most of its power, including the great HyperLogLog stuff, I never really looked at the CONFIG command and would not have imagined it would allow such things even.
Is CONFIG commonly used? What are the use cases?