Skip to content

Commit

Permalink
fix: use APIKeyAuth in per-route config
Browse files Browse the repository at this point in the history
  • Loading branch information
sanposhiho committed Oct 31, 2024
1 parent 98841dc commit 243bebd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ message APIKeyAuth {
// Extra settings that may be added to per-route configuration for
// a virtual host or a cluster.
message APIKeyAuthPerRoute {
// keys used to authenticate the client for this route.
config.core.v3.DataSource keys = 1
[(validate.rules).message = {required: true}, (udpa.annotations.sensitive) = true];
// The API key auth configuration to use for this route.
// Leave this empty to disable API key auth for this route.
APIKeyAuth api_key_auth = 1
}

0 comments on commit 243bebd

Please sign in to comment.