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

Add method to retrieve resource Project ID from GoogleCredentials #1614

Open
psx95 opened this issue Jan 15, 2025 · 0 comments
Open

Add method to retrieve resource Project ID from GoogleCredentials #1614

psx95 opened this issue Jan 15, 2025 · 0 comments

Comments

@psx95
Copy link

psx95 commented Jan 15, 2025

Is your feature request related to a problem? Please describe.
GoogleCredentials currently does not provide access to the resource project ID.

It only has method to provide access to the currently used Quota Project ID, which may be different from the resource project ID.

Describe the solution you'd like
A method to retrieve the current resource project ID. Similar methods exists in classes derived from GoogleCredentials such as ServiceAccountCredentials.

Additional context
I'm using this library to retrieve ADCs to authenticate to Google services. Due to the absence of a method to retrieve resource Project ID, the user is required to explicitly set the resource project ID.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant