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

KeyVault - KeyVaultClient doesn't work with azure.cli.core.adal_authentication.AdalAuthentication #5096

Closed
logachev opened this issue May 6, 2019 · 3 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. KeyVault

Comments

@logachev
Copy link

logachev commented May 6, 2019

KeyVaultClient doesn't work properly if we pass azure.cli.core.adal_authentication.AdalAuthentication object.(API calls result in unauthorized).

All other SDKs we used so far work as expected when provided object of this type.

@logachev logachev changed the title KeyVault - KeyVault doesn't work with azure.cli.core.adal_authentication.AdalAuthentication KeyVault - KeyVaultClient doesn't work with azure.cli.core.adal_authentication.AdalAuthentication May 6, 2019
@logachev
Copy link
Author

logachev commented May 6, 2019

Update: transforming AdalAuthentication -> BasicTokenAuthentication doesn't work either because KeyVaultAuthentication requires resource attribute

@kurtzeborn kurtzeborn added Client This issue points to a problem in the data-plane of the library. KeyVault labels May 8, 2019
@triage-new-issues triage-new-issues bot removed the triage label May 8, 2019
@kurtzeborn
Copy link
Member

Thank you for opening this issue! We are routing it to the appropriate team for follow up.

CC: @schaabs

@lmazuel
Copy link
Member

lmazuel commented Oct 7, 2021

It's an old issue, and I apologized he took so long for us to do something about it.

The CLI doesn't consider azure-cli-core public API, and therefore we don't support anymore any kind of ingestion from azure-cli-core code into SDK. We do have in azure-identity and AzureCLICredential credential to authenticate using CLI logged user.

Closing this issue, since we won't address this problem. If I missed the point, please create a new issue with more details. Thanks!

@lmazuel lmazuel closed this as completed Oct 7, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. KeyVault
Projects
None yet
Development

No branches or pull requests

4 participants