Skip to content

Commit

Permalink
chore: format proto file
Browse files Browse the repository at this point in the history
Signed-off-by: Kensei Nakada <[email protected]>
  • Loading branch information
sanposhiho committed Oct 31, 2024
1 parent 1f5cfad commit cf09592
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,19 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
//
message APIKeyAuth {
// keys used to authenticate the client.
// It should be a map of clientID to apiKey.
// It should be a map of clientID to apiKey.
// The clientID serves solely for identification purposes and isn't used for authentication.
config.core.v3.DataSource keys = 1 [(udpa.annotations.sensitive) = true];

// The header name to fetch the key.
// If multiple values are present in the given header, the filter rejects the request.
// Only one of authentication_header, authentication_query, or authentication_cookie should be set.
string authentication_header = 2;

// The query parameter name to fetch the key.
// Only one of authentication_header, authentication_query, or authentication_cookie should be set.
string authentication_query = 3;

// The cookie name to fetch the key.
// Only one of authentication_header, authentication_query, or authentication_cookie should be set.
string authentication_cookie = 4;
Expand All @@ -53,5 +55,5 @@ message APIKeyAuth {
message APIKeyAuthPerRoute {
// 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
APIKeyAuth api_key_auth = 1;
}

0 comments on commit cf09592

Please sign in to comment.