-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Role} Keep --sdk-auth, for now
#19872
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
Conversation
|
Bring back --sdk-auth |
--sdk-auth, for now--sdk-auth, for now
|
The output of |
|
Thank you @jiasli Glad to see |
MigrationWith For tools that consume the output of
Without With Originally posted by @erik-ha-msft in Azure/aks-set-context#40 (comment) |
Require #19853
Context
Even though we have announced the deprecation of
--sdk-authin #19414 since Python SDK has deprecated the usage of the output JSON file, there are still other places when this JSON file is used, likeChange
Thus the deprecation is delayed and
--sdk-authis brought back for now.Security concerns
⚠
az account show --sdk-authcompromises the security of MSAL's encrypted service principal credential store, as it can "spit out" / echo the original service principal secrets. This is not a secure behavior - consider you can see your password after you login to Windows or https://outlook.live.com/.Testing guide
az ad sp create-for-rbac --sdk-authaz account show --sdk-authReferences