-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[QUERY] Log what DefaultAzureCredential picks up (managed identity or env vars) #6591
Comments
See Azure/azure-sdk-for-net#8948 for example of how to get this with AzureEventSourceListener. I will get a sample in Java soon. |
I'm unable to find |
Sorry for the delay @snobu I'm still looking into this. (Java is not my primary language, so reaching out to some folks) |
No worries, Jon. I believe this would make a good addition to the SDK samples once out. It will definitely help with debugging sessions primarily, development as well and those Learning in production moments we all cherish. |
/cc @catalinaperalta |
Just a quick update we are having a cross-language overhaul for our logging mechanisms including addressing this need. I'll update here when a PR is open and community review is welcomed. |
Sounds great! Appreciate the update. |
this feature has been merged in #12268 |
Is there a way to tell what type of credentials (env vars/managed identity) is
DefaultAzureCredential
using?I would like to log something along these lines:
or
after calling
The text was updated successfully, but these errors were encountered: