[keytar] Does @azure/identity can not run on different platform with build-time platform.
See original GitHub issue- Package Name: @azure/identity
- Package Version: 1.3.0
- Operating system: win
Hi, I am creating this issue to ask whether @azure/identity
can not run on different platform with the build-time machine.
We notice that @azure/identity
has a keytar
dependency. When we build @azure/identity
on one machine (for example, x86), and run it on another machine (say ia32), since keytar is not pre-built for ia32, it will try to re-build based on the new platform, and fail during rebuild.
So, we are asking whether @azure/identity
is supposed to be run on exactly the same environment (node version / arch platform) with the build-time environment due to keytar.
Thanks!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (6 by maintainers)
Top Results From Across the Web
[identity] The 1.1.0-preview.3 installation fails in certain ...
Run docker build . Observe error with content like: Step 2/2 : RUN npm install @azure/identity@1.1.0-preview.3 ---> Running in eaa25a228d45 > ...
Read more >Microsoft identity platform authentication libraries
List of client libraries and middleware compatible with the Microsoft identity platform. Use these libraries to add support for user sign-in ...
Read more >@azure/identity - npm
Provides credential implementations for Azure SDK libraries that can authenticate with Azure Active Directory. Latest version: 3.1.2, ...
Read more >How to setup ServiceNow SSO with 2 different Azure AD tenants
However, we need to add another Azure AD tenant and allow their. ... This will not work on the ServiceNow mobile app because...
Read more >Demystifying Microsoft Identity SDKs - Winsmarts.com
Azure.Identity is great for using Managed Identity and is available not just for .NET but many platforms, in a very similar and well...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dilin-MS , @azure/identity 1.3.0 only uses keytar for the VisualStudioCodeCredential. If you aren’t using that credential, then you should be able to ignore the keytar depdendency. We have a feature goal for Identity 2.0 to remove this dependency entirely, as @sadasant mentioned. If you’re using VisualStudioCodeCredential, then yes,
npm install
needs to be run on a machine with the same CPU architecture, operating system, and node version as the deployment target machine.@dilin-MS We’ll be releasing v2 officially in a couple of months. In the mean time, you could try our beta version, but keep in mind that it might change: https://www.npmjs.com/package/@azure/identity/v/2.0.0-beta.4