-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Profile} Add CREDENTIAL_WARNING_MESSAGE for more commands #16222
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
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.
Refine the help message of az account show.
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.
⚠ --sdk-auth should be deprecated for az account show because it is regurgitating the credential which is not a secure practice.
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.
Reverting the not logic as --sdk-auth is the uncommon code path.
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.
Print the warning earlier so that it is printed when show_auth_for_sdk is True.
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
|
Profile |
Description
Refine #15825: Add long-summary/warning for commands generating credentials
This PR shows the
CREDENTIAL_WARNING_MESSAGEfor more commands:az account show --helpaz account show --sdk-authaz ad sp create-for-rbac --sdk-auth