-
-
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
feat: Add Azure credential provider using DefaultAzureCredential()
#20384
feat: Add Azure credential provider using DefaultAzureCredential()
#20384
Conversation
# } | ||
# ] | ||
|
||
return json.loads(subprocess.check_output(cmd))[0]["value"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is ported from some recently added logic to the rust side from (#20357), we need this here as the Python credential provider will override the one set by the Rust side if it is passed.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #20384 +/- ##
==========================================
+ Coverage 78.38% 79.13% +0.74%
==========================================
Files 1572 1566 -6
Lines 219962 219277 -685
Branches 2465 2470 +5
==========================================
+ Hits 172423 173525 +1102
+ Misses 46971 45184 -1787
Partials 568 568 ☔ View full report in Codecov by Sentry. |
|
||
cmd = az_cmd if sys.platform != "win32" else ["cmd", "/C", *az_cmd] | ||
|
||
# [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this intended?
I don't have anything working locally with
DefaultAzureCredential()
, but it apparently works for some authentication setups -