Skip to content

Commit 21c4a44

Browse files
authored
feat(bigtable): enable new auth library and JWT for instance admin client (#20013)
Fixes: b/457923542 b/372244283 Related: - #19957 - #19943
1 parent 48e8862 commit 21c4a44

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bigtable/admin.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,6 +1315,8 @@ func NewInstanceAdminClient(ctx context.Context, project string, opts ...option.
13151315
}
13161316
// Add gRPC client interceptors to supply Google client information. No external interceptors are passed.
13171317
o = append(o, btopt.ClientInterceptorOptions(nil, nil)...)
1318+
o = append(o, internaloption.EnableNewAuthLibrary())
1319+
o = append(o, internaloption.EnableJwtWithScope())
13181320
o = append(o, opts...)
13191321
connPool, err := gtransport.DialPool(ctx, o...)
13201322
if err != nil {

0 commit comments

Comments
 (0)