16

I think I am missing something since I couldn't find in the docs how to write the username and password for the redis instance to use with sidekiq..

Is there a way to do this? Or is it through ENV vars?

Nick Ginanto
  • 31,090
  • 47
  • 134
  • 244

1 Answers1

32

Sidekiq passes unrecognized redis options directly to the Redis driver:

config.redis = { password: 'bar' }

And redis does not have the concept of users so there's only password.

Mike Perham
  • 21,300
  • 6
  • 59
  • 61