-
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] Create a separate package for optional native components of @azure/identity #14346
Comments
Making the dependency optional doesn't help much, as explained in #13950. Instead, I think the |
@mikeharder that sounds about right. I've been thinking of two packages too! |
I've updated the description and title of this issue to reflect the current proposed solution. |
@witemple-msft How does FWIW Rush really cannot wait much longer. Today someone reported that Docker fails to install the Rush tool because If a solution isn't forthcoming, then it seems that Rush should consider instead eliminating Azure SDK. We already recently eliminated Amazon's SDK due to similar issues with problematic NPM dependencies. |
@octogonz The Identity package will release a v2-beta in a couple of weeks without Keytar. The solution @willmtemple is working on is on having an entirely separate package that will contain the binaries. The main |
The only thing Rush actually uses from |
@sadasant Yes -- given that the Azure build cache feature is still considered "experimental", Rush seems like a great candidate for testing a |
@octogonz My title change apparently wasn't saved. It's updated now. As far as timeline, we are pushing towards a GA solution within the next month and a half or so, beta availability for a stripped down package within a couple of weeks. @iclanton The principle of @azure/identity is to be a fixpoint within the Azure SDK for JavaScript for AAD authentication. In the backend, we are using MSAL. If you aren't using Identity to work with the Azure SDK data-plane libraries, you could consider using Local dev builds of 2.0.0-beta.3 are about 25MB on disk, as we are able to throw off a bit by not installing keytar and prebuild-install. It's up to you all if that's acceptable. @mikeharder I hope to have a basic version of this merged tomorrow or Monday so we should have a dev artifact by Tuesday. |
While we wait for v2, if it is indeed the case that rush currently uses only the device code login flow and you do not care about whether the underlying implementation for this uses the newer MSAL or not, then another option for you can be to update the identity dependency to use Once we have resolved this issue for native components, you can get right back to using the latest identity package |
@ramya-rao-a I confirmed that your suggestion does eliminate the |
@ramya-rao-a Downgrading to
It seems that maybe we do need to wait for |
Following up, we are still having trouble getting microsoft/rushstack#2647 to build. How close are we to having a |
Update: The rush team has been unblocked for now. Please see microsoft/rushstack#2647 for details |
Any guidance on work around until this is released? |
@01 The workaround depends on which features of |
Simply using DefaultAzureCredential with a system assigned managed identity for an Azure App Service |
@01 In that case, please try the solution suggested at #14346 (comment). |
FYI since we downgraded to
It's only a minor annoyance, but we're looking forward to whenever |
@octogonz @iclanton -- Our latest beta release We don't have the design of the extension package nailed down yet, but our mainline |
Added DW Gen3 SqlPool Pause and Resume swagger (Azure#14346) * Added DW Gen3 SqlPool Pause and Resume swagger * Validation error fix * Validation error fix * Validation error fix * Validation error fix Co-authored-by: Jignesh Vavadiya <jivavadi@microsoft.com>
This has been implemented via. an extension API, and alpha releases of the new extension packages are available on NPM. They will be available in beta as of |
Beta releases for the above two new packages are now available |
In Identity, we would like to avoid adding any packages with native binaries as dependencies (not even peer or optional dependencies).
VisualStudioCodeCredential
depends onkeytar
, which uses native binaries to commmunicate with the platform credential manager.We would like to provide these facilities through a separate package that can inject or provide these native module dependencies outside of the mainline identity package. This issue tracks that work.
The text was updated successfully, but these errors were encountered: