Skip to content

Commit

Permalink
redact token fields in handshaker proto
Browse files Browse the repository at this point in the history
  • Loading branch information
rockspore committed Aug 28, 2024
1 parent 50ff5a3 commit ff85af5
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 ff85af5

Please sign in to comment.