-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Profile] az login
: Deprecate username password flow
#28982
base: dev
Are you sure you want to change the base?
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
Deprecate username password flow |
az login
: Deprecate username password flow
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.
@jiasli consider the updated message and change the title of this PR, we are not deprecating the username and password flow.
@@ -41,6 +41,9 @@ | |||
"[Warning] The login output has been updated. Please be aware that it no longer displays the full list of " | |||
"available subscriptions by default.\n") | |||
|
|||
USERNAME_PASSWORD_DEPRECATION_WARNING = ( | |||
"User authentication with username and password has been deprecated. Please use interactive login instead.") |
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.
"User authentication with username and password has been deprecated. Please use interactive login instead.") | |
"Authentication with username and password in the command line is strongly discouraged. Use one of the recommended authentication methods based on your requirements. For more information go to https://learn.microsoft.com/cli/azure/authenticate-azure-cli".) |
@dbradish-microsoft can you review the message?
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.
@dcaro, Sound good to me.
I just to confirm that this information is only displayed in scenario where the customr uses username+password to login, and will not be displayed in other interactive scenarios, right? |
Related command
az login
Description
Deprecate username password flow according to #28252.
Testing Guide