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

DefaultAzureCredential prints libsecret errors in linux container from SharedTokenCacheCredential #96

Closed
vxfield opened this issue Jul 19, 2021 · 1 comment · Fixed by #97

Comments

@vxfield
Copy link
Member

vxfield commented Jul 19, 2021

Related to: Azure/azure-sdk-for-python#19857

The custom _DefaultAzureCredential() that we use as a default credential for the Workspace has an issue with the SharedTokenCacheCredential in a linux docker container.
It dumps either pyobject or libsecret errors from the SharedTokenCacheCredential, which is confusing to users.

It also looks like DotNet Azure.Identity excludes SharedTokenCacheCredential by default. For consistency across SDKs, it would also be great if azure-sdk-for-python similarly excluded SharedTokenCacheCredential from DefaultAzureCredential, since it really only works on Windows, and seems to cause issues on other systems.

For consistency, we should exclude the SharedTokenCacheCredential from our default credential.

Merged PR for azure-sdk-for-net to remove SharedTokenCacheCredential from default: Azure/azure-sdk-for-net#16615
Related Issue: Azure/azure-sdk-for-net#17052

@vxfield
Copy link
Member Author

vxfield commented Jul 19, 2021

@xinyi-joffre, @anpaz: FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant