{Role} az ad sp create-for-rbac: Add usage link to --sdk-auth's help message #17362
Closed
{Role} az ad sp create-for-rbac: Add usage link to --sdk-auth's help message #17362
az ad sp create-for-rbac: Add usage link to --sdk-auth's help message #17362Conversation
jiasli
commented
Mar 19, 2021
Member
Author
There was a problem hiding this comment.
Adjust the order of warnings. Show credential warning first.
Before:
> az ad sp create-for-rbac --sdk-auth
In a future release, this command will NOT create a 'Contributor' role assignment by default. If needed, use the --role argument to explicitly create a role assignment.
Creating 'Contributor' role assignment under scope '/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590'
Retrying role assignment creation: 1/36
The output includes credentials that you must protect. Be sure that you do not include these credentials in your code or check the credentials into your source control. For more information, see https://aka.ms/azadsp-cli
{
...
}
After:
> az ad sp create-for-rbac --sdk-auth
The output includes credentials that you must protect. Be sure that you do not include these credentials in your code or check the credentials into your source control. For more information, see https://aka.ms/azadsp-cli
In a future release, this command will NOT create a 'Contributor' role assignment by default. If needed, use the --role argument to explicitly create a role assignment.
Creating 'Contributor' role assignment under scope '/subscriptions/0b1f6471-1bf0-4dda-aec3-cb9272f09590'
Retrying role assignment creation: 1/36
{
...
}
Collaborator
|
Role |
lmazuel
reviewed
Mar 19, 2021
Member
There was a problem hiding this comment.
Still misleading to me, since it's not compatible with SDK as a whole. I would be more explicit.
"SDK has deprecated usage of authentication file. More details here: aka"
evelyn-ys
approved these changes
May 19, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
az ad sp create-for-rbac: Add usage link to--sdk-auth's help messageReference email: Deprecate generating JSON auth file in Azure CLI
Testing Guide