question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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:open
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
witemple-msftcommented, Apr 14, 2021

@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.

1reaction
sadasantcommented, Jul 26, 2021

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found