We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e36d1a commit 2afdbbcCopy full SHA for 2afdbbc
gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java
@@ -690,6 +690,7 @@ private ManagedChannel createSingleChannel() throws IOException {
690
channelCredentials =
691
CompositeChannelCredentials.create(channelCredentials, mtlsS2ACallCredentials);
692
}
693
+ // Connect to the MTLS endpoint when using S2A because S2A is used to perform an MTLS handshake.
694
builder = Grpc.newChannelBuilder(mtlsEndpoint, channelCredentials);
695
} else {
696
// Use default if we cannot initialize channel credentials via DCA or S2A.
0 commit comments