Revanth14 commented on issue #2428:
URL: https://github.com/apache/iceberg-go/issues/2428#issuecomment-6774347303

   @zeroshade step 1 is in: #2433 added `NewOauth2AuthManager(ts)`, so BigLake 
works today with:
   
   ```go
   
rest.WithAuthManager(rest.NewOauth2AuthManager(google.DefaultTokenSource(ctx, 
scope)))
   ```
   
   Before I start step 2, could you say whether you want it? Step 2 would add a 
`GoogleAuthManager` chosen by a new `rest.auth.type=google` property and 
configured with Java's `gcp.auth.credentials-path` / `credentials-json` / 
`scopes` properties, so Google's documented config works unchanged. It adds no 
new modules, but it's the first `rest.auth.type` in iceberg-go, which is why 
I'm asking first.
   
   If you'd rather stop at the constructor, I'll document the BigLake setup and 
close this.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to