Skip to content

Commit 68cfb38

Browse files
authored
fix(spanner): revert the ALTS bound token enablement (#11799)
This is to revert #11674.
1 parent b323f88 commit 68cfb38

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎spanner/client.go‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,8 +626,6 @@ func allClientOpts(numChannels int, compression string, userOpts ...option.Clien
626626
if enableDirectPathXds, _ := strconv.ParseBool(os.Getenv("GOOGLE_SPANNER_ENABLE_DIRECT_ACCESS")); enableDirectPathXds {
627627
clientDefaultOpts = append(clientDefaultOpts, internaloption.AllowNonDefaultServiceAccount(true))
628628
clientDefaultOpts = append(clientDefaultOpts, internaloption.EnableDirectPath(true), internaloption.EnableDirectPathXds())
629-
// This enables DirectPath to use hard bound tokens if possible.
630-
clientDefaultOpts = append(clientDefaultOpts, internaloption.AllowHardBoundTokens("ALTS"))
631629
}
632630
if compression == "gzip" {
633631
userOpts = append(userOpts, option.WithGRPCDialOption(grpc.WithDefaultCallOptions(

0 commit comments

Comments
 (0)