Skip to content
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] Make keytar an optional dependency #10142

Merged
merged 1 commit into from
Jul 20, 2020

Conversation

sophiajt
Copy link
Contributor

As keytar does not build on all platforms where we support Azure Identity, make keytar an optional dependency. If keytar is not available, fail gracefully with a message telling the user why the VSCode credential could not be used.

Helps to address #9288 and related issues, where the given platform may not have the ability to install the dependencies keytar needs (and therefore keytar fails to build), or on a platform where keytar itself isn't support (eg on Linux running without X11/Xorg).

@ghost ghost added the Azure.Identity label Jul 20, 2020
@joshfree joshfree added blocking-release Blocks release bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library. labels Jul 20, 2020
@joshfree joshfree added this to the [2020] August milestone Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Azure.Identity blocking-release Blocks release bug This issue requires a change to an existing behavior in the product in order to be resolved. Client This issue points to a problem in the data-plane of the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants