You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2023/01/08 10:55:18 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #3490: Support GCP Instance Credentials

tustvold opened a new issue, #3490:
URL: https://github.com/apache/arrow-rs/issues/3490

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for this feature, in addition to  the *what*)
   -->
   
   Currently the object_store crate only supports obtaining credentials using a provided service account, it would be beneficial if it could also optionally obtain credentials from its environment. This would be consistent with the behaviour of the aws and azure implementations, and avoids requiring users to handle sensitive long-term service account credentials.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   If no service account is specified, it should fallback to trying to get credentials from a metadata endpoint. 
   
   This is documented [here](https://cloud.google.com/docs/authentication/get-id-token#metadata-server)
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold commented on issue #3490: Support GCP Workload Identity

Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #3490:
URL: https://github.com/apache/arrow-rs/issues/3490#issuecomment-1374803441

   FYI @scsmithr not sure if this is functionality that would interest you


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] tustvold closed issue #3490: Support GCP Workload Identity

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #3490: Support GCP Workload Identity
URL: https://github.com/apache/arrow-rs/issues/3490


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] winding-lines commented on issue #3490: Support GCP Workload Identity

Posted by GitBox <gi...@apache.org>.
winding-lines commented on issue #3490:
URL: https://github.com/apache/arrow-rs/issues/3490#issuecomment-1379633328

   I am wondering if using `application_default_credentials` could also be added as part of this effort - or maybe it's already part of the requirement? 


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Support GCP Workload Identity [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #3490:
URL: https://github.com/apache/arrow-rs/issues/3490#issuecomment-2741685633

   Migrating from arrow-rs issue [#3490](https://github.com/apache/arrow-rs/issues/3490)


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-rs] scsmithr commented on issue #3490: Support GCP Workload Identity

Posted by GitBox <gi...@apache.org>.
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org