Skip to content

Commit c90dd00

Browse files
authored
feat(spanner): allow non-default service accounts (#8488)
1 parent ee274c7 commit c90dd00

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

spanner/client.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ func allClientOpts(numChannels int, compression string, userOpts ...option.Clien
296296
option.WithGRPCConnectionPool(numChannels),
297297
option.WithUserAgent(fmt.Sprintf("spanner-go/v%s", internal.Version)),
298298
internaloption.EnableDirectPath(true),
299+
internaloption.AllowNonDefaultServiceAccount(true),
299300
}
300301
if compression == "gzip" {
301302
userOpts = append(userOpts, option.WithGRPCDialOption(grpc.WithDefaultCallOptions(

0 commit comments

Comments
 (0)