-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Identity] Add new @azure/identity library and @azure/core-http abstractions #3449
Conversation
I wouldnt alias |
7ba4d05
to
9b5acac
Compare
Thanks for all the feedback so far! I've addressed everything actionable and have moved this PR out of Draft state so that we can move forward with the final review. Please let me know if you have any other feedback! |
f65b602
to
3cb64df
Compare
sdk/core/core-http/lib/policies/bearerTokenAuthenticationPolicy.ts
Outdated
Show resolved
Hide resolved
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.
4f16b25
to
f25edd9
Compare
Thanks again for all the feedback! I'll rebase this PR and then merge it once CI goes green again 🎉 |
e52f7d0
to
2fa959a
Compare
Argh, now the |
2fa959a
to
fb0e570
Compare
This PR introduces the new @azure/identity library for simplifying client authentication in the new Azure data plane SDK libraries. I might wait to add thorough tests so that folks can go ahead and take a dependency on the
@azure/core-http
abstractions ASAP.Questions for Reviewers
Is it a good idea to aliasstring | string[]
toCredentialScopes
or does that introduce unnecessary import complexity?Should I run Prettier or some other formatter over this code before merging?Tasks
ClientSecretCredential
against Azure to ensure it retrieves an access token successfullyAzureCredential
,EnvironmentCredential
, andClientSecretCredential
Related to #2650.