Skip to content

Conversation

@arithmetic1728
Copy link
Contributor

@arithmetic1728 arithmetic1728 commented Aug 20, 2024

Add a get_cred_info() method to ADC cred. If the cred comes from google.auth.default() or a copy of such cred, the method returns a JSON to tell the cred file path, cred type and the principal if available. See go/python-auth-error-message-improvement.

@arithmetic1728 arithmetic1728 marked this pull request as ready for review August 23, 2024 18:15
@arithmetic1728 arithmetic1728 requested review from a team as code owners August 23, 2024 18:15
@arithmetic1728 arithmetic1728 changed the title [Work in progress] feat: add cred info to ADC creds feat: add cred info to ADC creds Aug 28, 2024
@lsirac lsirac requested a review from aeitzman August 28, 2024 20:55
@arithmetic1728
Copy link
Contributor Author

@aeitzman Any questions on this PR? If not I am going to merge it. Thanks!

@arithmetic1728 arithmetic1728 merged commit 6f75dd5 into main Sep 12, 2024
@arithmetic1728 arithmetic1728 deleted the error branch September 12, 2024 01:24
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

Successfully merging this pull request may close these issues.

4 participants