Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: