Skip to content

Commit

Permalink
redact token fields in handshaker proto (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
rockspore authored Sep 3, 2024
1 parent b3f3751 commit a9c639a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grpc/gcp/handshaker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ message StartClientHandshakeReq {
// ALTS connections. The access token that should be used to authenticate to
// the peer. The access token MUST be strongly bound to the ALTS credentials
// used to establish the connection that the token is sent over.
string access_token = 11;
string access_token = 11 [debug_redact = true];
}

message ServerHandshakeParameters {
Expand All @@ -129,7 +129,7 @@ message ServerHandshakeParameters {
// ALTS connections. The token should be used to authenticate to
// the peer. The token MUST be strongly bound to the ALTS credentials
// used to establish the connection that the token is sent over.
optional string token = 3;
optional string token = 3 [debug_redact = true];
}

message StartServerHandshakeReq {
Expand Down

0 comments on commit a9c639a

Please sign in to comment.