Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth): support the standard gce metadata host env #834

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lanbochen-anyscale
Copy link

Summary

We have the use case such that we want to override the default gce compute metadata and proxy to other compute nodes (outside of gce) for them to be able to access gcloud APIs. Add GCE_METADATA_HOST and GCE_METADATA_ROOT support which is google's standard env vars (see https://github.com/googleapis/google-auth-library-python/blob/main/google/auth/compute_engine/_metadata.py#L45).

@lanbochen-anyscale lanbochen-anyscale requested review from aherrada-dialpad and removed request for a team December 2, 2024 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant