scsmithr commented on issue #3490: URL: https://github.com/apache/arrow-rs/issues/3490#issuecomment-1374908079
Definitely interested in this functionality. I won't be able to pick this up in the short term though. If it helps, the Go implementation for this is pretty straightforward: https://github.com/golang/oauth2/blob/master/google/default.go#L114 I would also recommend using the metadata IP directly instead of relying on DNS. I've been bitten with flaky DNS resolution on GCP in the past. The IP, along with the `OnGCE` check can be found here: https://github.com/googleapis/google-cloud-go/blob/main/compute/metadata/metadata.go#L39. It's not documented clearly in the code, but this will also work with recent GKE deloyments (see https://cloud.google.com/kubernetes-engine/docs/concepts/workload-identity#metadata_server). -- 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]
