Skip to content

[Identity] UsernamePasswordCredential should expose authenticate method which returns AuthenticationRecord #11546

@jiasli

Description

@jiasli

UsernamePasswordCredential should expose authenticate method which returns AuthenticationRecord.

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.

Metadata

Metadata

Assignees

Labels

Azure.Identityfeature-requestThis issue requires a new behavior in the product in order be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions