added optional redis credential key to be set
moved default key into constant