Improve mgmt readme for identity support #14921
Merged
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.
add-identity-mgmt-lib.js
is the script that can be used on auto-generated mgmt plane packages to make them support the credentials from the@azure/identity
packageWe had feedback regarding the updated readme that the use of
DefaultAzureCredential
requires set up while the older readme used interactive credential from ms-rest-nodeauth which did not require any set up and so was easy to get started.In all the data plane packages that use the new Identity package across all languages, we have been using
DefaultAzureCredential
in our examples and getting started guides. If we are to change our getting started story, that would involve a larger effort cross languages and cross packages.In order to unblock the current efforts to have the mgmt plane packages support Azure Identity, we will rely on the doc https://aka.ms/azsdk/js/identity/examples. See #14920 for the improvements being done to this doc which will make it easier for us to simply point to this doc rather than go into details of which credential is easiest for getting started in the readme file of the consuming package.