From c90dd00350fa018dbc5f0af5aabce80e80be0b90 Mon Sep 17 00:00:00 2001 From: Roman Slyusarchuk Date: Thu, 24 Aug 2023 21:22:57 -0700 Subject: [PATCH] feat(spanner): allow non-default service accounts (#8488) --- spanner/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/spanner/client.go b/spanner/client.go index bfe00c2dcec0..d28b95cfaf20 100644 --- a/spanner/client.go +++ b/spanner/client.go @@ -296,6 +296,7 @@ func allClientOpts(numChannels int, compression string, userOpts ...option.Clien option.WithGRPCConnectionPool(numChannels), option.WithUserAgent(fmt.Sprintf("spanner-go/v%s", internal.Version)), internaloption.EnableDirectPath(true), + internaloption.AllowNonDefaultServiceAccount(true), } if compression == "gzip" { userOpts = append(userOpts, option.WithGRPCDialOption(grpc.WithDefaultCallOptions(