-
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] Use MSAL for Managed Identity #30172
[identity] Use MSAL for Managed Identity #30172
Conversation
API change check API changes are not detected in this pull request. |
0386a63
to
10c5c4d
Compare
Overall the PR is coming along great. I have a few questions to discuss:
|
Let me know if you have any more questions! Happy to check my understanding |
b35c4e2
to
b267afd
Compare
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.
Nice! I like that the legacy implementation is able to be brought back until we're confident we can delete that code.
sdk/identity/identity/src/credentials/managedIdentityCredential/imdsRetryPolicy.ts
Show resolved
Hide resolved
sdk/identity/identity/src/credentials/managedIdentityCredential/index.ts
Show resolved
Hide resolved
sdk/identity/identity/src/credentials/managedIdentityCredential/msalMsiProvider.ts
Outdated
Show resolved
Hide resolved
sdk/identity/identity/src/credentials/managedIdentityCredential/tokenExchangeMsi.ts
Outdated
Show resolved
Hide resolved
sdk/identity/identity/test/internal/node/managedIdentityCredential/imdsRetryPolicy.spec.ts
Outdated
Show resolved
Hide resolved
sdk/identity/identity/test/internal/node/managedIdentityCredential/msalMsiProvider.spec.ts
Outdated
Show resolved
Hide resolved
sdk/identity/identity/src/credentials/managedIdentityCredential/imdsRetryPolicy.ts
Outdated
Show resolved
Hide resolved
sdk/identity/identity/src/credentials/managedIdentityCredential/tokenExchangeMsi.ts
Show resolved
Hide resolved
sdk/identity/identity/src/credentials/managedIdentityCredential/msalMsiProvider.ts
Outdated
Show resolved
Hide resolved
sdk/identity/identity/src/credentials/managedIdentityCredential/msalMsiProvider.ts
Outdated
Show resolved
Hide resolved
e60460e
to
a0c72fd
Compare
a0c72fd
to
03625ff
Compare
API change check API changes are not detected in this pull request. |
FYI planning to merge this today regardless so please do review by EOD |
sdk/identity/identity/src/credentials/managedIdentityCredential/msalMsiProvider.ts
Show resolved
Hide resolved
f96a6f8
to
1d4bb3c
Compare
API change check API changes are not detected in this pull request. |
1 similar comment
API change check API changes are not detected in this pull request. |
### Packages impacted by this PR @azure/core-util ### Issues associated with this PR Contributes to #30187 ### Describe the problem that is addressed by this PR Ports over the logic from @azure/core-rest-pipeline's exponentialRetryStrategy to a helper function that can be used by client libraries. This code was duplicated in @azure/identity and a partner team attempted to add exponential-backoff as a dependency to add support for this logic. A helper function can be used to calculate the next interval, leaving the business logic / deciding what to do next to the specific usecase ### Provide a list of related PRs _(if any)_ #30172 (comment)
Packages impacted by this PR
@azure/identity
Issues associated with this PR
Resolves #25253
Describe the problem that is addressed by this PR
With MSAL implementing Managed Identity via the ManagedIdentityApplication, we
want to migrate our existing legacy implementation to use MSAL instead.
This PR:
Some implementation details:
supporting it as a special handler
failing-fast as a special handler
Provide a list of related PRs (if any)
#30045
Checklists
Manual validation