Skip to content

Enable token encryption when running on Linux #23495

@NileshGhodekar

Description

@NileshGhodekar

Related command

az login

Is your feature request related to a problem? Please describe.

Azure CLI has not yet enable token encryption when running on Linux even when MSAL now has implemented support for this.

Describe the solution you'd like

Azure CLI should store the token cache encrypted instead if plaintext on Linux

Describe alternatives you've considered

The current solution is to depend on file permissions 600 set the by CLI on the token cache file. However, encrypting it as well will improve the security posture.

Additional context

This is essentially the follow up on thread AzureAD/microsoft-authentication-extensions-for-python#106

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions