In general, redis saves all the configurations in redis.conf file.

A user can modify the redis.conf file to update any parameters in redis.

Type the below command to get the default parameters in the redis instance


Apart from redis.conf file, the user can also use the command line to modify/fetch various configurations.

Users can use the Redis config get command to get the redis properties.

CONFIG GET <parameter>

Similarly, a user can use the Redis config set command to set any redis property via the command line.

CONFIG SET <parameter> <value>

Redis does not enable any security by default.

Redis provides us the facility to enable TLS and persistence by adding properties in redis.conf file.