Skip to content

Expose API to configure filename of token cache #25930

Description

@xiangyan99

Intro:
Customers expect the identity can be shared between Azure PowerShell and Azure CLI. It allows the user to log into Azure once using either Azure PowerShell or Azure CLI. Customers can then switch script language according to their needs. It's very important to end users when there's a feature gap between Azure PowerShell and Azure CLI.

Proposal:
Currently, the token cache file is specified by Azure.Identity. Azure.Identity should expose an API to allow the client to configure both the file name and location. With this API, Azure PowerShell and Azure CLI can determine the common location and share the token cache with each other.

Metadata

Metadata

Assignees

Labels

Azure.IdentityClientThis issue points to a problem in the data-plane of the library.

Type

No type

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions