[Identity] UsernamePasswordCredential should expose authenticate method which returns AuthenticationRecord #11546
Labels
Azure.Identity
feature-request
This issue requires a new behavior in the product in order be resolved.
UsernamePasswordCredential
should exposeauthenticate
method which returnsAuthenticationRecord
.Otherwise when username+password is used as the authentication method, Azure CLI can't persist user's auth record and utilize refresh tokens stored in MSAL cache. In such case, Azure CLI will have to save user's password by itself, which is absolutely not a good idea from a security perspective.
The text was updated successfully, but these errors were encountered: