Redis upstream auth password

523 views
Skip to first unread message

Eugene

unread,
Jan 20, 2021, 3:34:52 AM1/20/21
to envoy-users
Hi all!

We're trying to use Envoy proxy as loadbalancer before Redis instances. Without auth options all works as expected. But with enabled auth in upstream servers redis client issues error "(error) NOAUTH Authentication required." Config section looks like:

typed_extension_protocol_options:
      envoy.filters.network.redis_proxy:
        auth_password:
          inline_string: "password"

How to write right auth option for Redis? Any help is appreciated, thanks.

Eugene

unread,
Jan 20, 2021, 3:44:15 AM1/20/21
to envoy-users
If it matters we're using Redis 6 version.

среда, 20 января 2021 г. в 10:34:52 UTC+2, Eugene:

Zizon Qiu

unread,
Jan 20, 2021, 6:09:58 AM1/20/21
to Eugene, envoy-users
there are two parts of auth in redis proxy.
one in redis proxy filter,and the other is for the upstream cluster.

in your configuration, auth_password were mean for upstream cluster(in matter of envoy itself).
it has nothing to do with the downstream redis client authentication.

downstream authentication is done by envoy ,and not handled upward to upstream.(see downstream_auth_password config)

--
You received this message because you are subscribed to the Google Groups "envoy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/edcfe2a0-46b1-409a-a747-df6a1fa142adn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages