spin
spin copied to clipboard
Authentication for Redis
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
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).
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!