basic_auth: add support for per-route filter (#33335)

* basic_auth: add per-route filter

Signed-off-by: Jacek Ewertowski <jewertow@redhat.com>

---------

Signed-off-by: Jacek Ewertowski <jewertow@redhat.com>

Mirrored from https://github.com/envoyproxy/envoy @ 8d2df82f081bc9e33f6022a41893c37b3c0928d3
main
update-envoy[bot] 8 months ago
parent 6bb0287c22
commit 02a3178ba9
  1. 8
      envoy/extensions/filters/http/basic_auth/v3/basic_auth.proto

@ -42,3 +42,11 @@ message BasicAuth {
string forward_username_header = 2
[(validate.rules).string = {well_known_regex: HTTP_HEADER_NAME strict: false}];
}
// Extra settings that may be added to per-route configuration for
// a virtual host or a cluster.
message BasicAuthPerRoute {
// Username-password pairs for this route.
config.core.v3.DataSource users = 1
[(validate.rules).message = {required: true}, (udpa.annotations.sensitive) = true];
}

Loading…
Cancel
Save