spin icon indicating copy to clipboard operation
spin copied to clipboard

Authentication for Redis

Open radu-matei opened this issue 3 years ago • 2 comments

Currently, if the Redis instance has a password set in redis.conf, the Spin trigger has no way of passing that password.

ref https://redis.io/topics/security#authentication-feature ref #181 ref #160

radu-matei avatar Mar 20 '22 02:03 radu-matei

Actually, there is a way to provide the password through address url. If a redis instance has:

requirepass "hello world"
trigger = {type = "redis", address = "redis://:hello world@localhost:6379"}

will work (I've tested against examples/redis-rust).

etehtsea avatar Aug 04 '22 10:08 etehtsea

Ooooh this is great! Thank you!

I will leave this issue open, as I'd like to track adding this to the documentation as well.

That being said, we would still want to be able to somehow use a secret here as well, but this is a great starting point, thanks, @etehtsea!

radu-matei avatar Aug 16 '22 03:08 radu-matei