Skip to content

Commit

Permalink
feat: include api_key_uid in service control check response
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 608766712
  • Loading branch information
Google APIs authored and Copybara-Service committed Feb 20, 2024
1 parent 254e61a commit 7ac2785
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions google/api/servicecontrol/v1/service_controller.proto
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,11 @@ message CheckResponse {

// Consumer info of this check.
ConsumerInfo consumer_info = 2;

// The unique id of the api key in the format of "apikey:<UID>".
// This field will be populated when the consumer passed to Service Control
// is an API key and all the API key related validations are successful.
string api_key_uid = 5;
}

// `ConsumerInfo` provides information about the consumer.
Expand Down

0 comments on commit 7ac2785

Please sign in to comment.