From aea5f109a6ad38b1947ef51c14e416653e208a9f Mon Sep 17 00:00:00 2001 From: Alexander Polcyn Date: Thu, 11 Oct 2018 13:53:54 -0700 Subject: Add c++ google default creds to cloud to prod auth scenarios --- test/cpp/interop/client.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/cpp/interop') diff --git a/test/cpp/interop/client.cc b/test/cpp/interop/client.cc index a4b1a85f85..1d7fa73aa8 100644 --- a/test/cpp/interop/client.cc +++ b/test/cpp/interop/client.cc @@ -137,7 +137,8 @@ int main(int argc, char** argv) { &grpc::testing::InteropClient::DoTimeoutOnSleepingServer, &client); actions["empty_stream"] = std::bind(&grpc::testing::InteropClient::DoEmptyStream, &client); - if (FLAGS_use_tls) { + if (FLAGS_use_tls || + FLAGS_custom_credentials_type == "google_default_credentials") { actions["compute_engine_creds"] = std::bind(&grpc::testing::InteropClient::DoComputeEngineCreds, &client, FLAGS_default_service_account, FLAGS_oauth_scope); -- cgit v1.2.3