-
Couldn't load subscription status.
- Fork 378
Description
Is your feature request related to a problem? Please describe.
Currently, when running Linux without a GUI (e.g., Azure Linux VM) MSAL uses a plain-text token cache. My understanding is that MSAL supports libsecret/secret credential stores, but these don't work properly without a GUI.
Specifically, I'm using Git Credential Manager (GCM) on an Azure Linux VM to work with git repos stored in Azure DevOps (ADO). When using ADO, GCM uses MSAL to acquire and store AAD tokens. Since MSAL doesn't support an encrypted credential store, I get the following warning from GCM:
warning: cannot persist Microsoft authentication token cache securely!
warning: using plain-text fallback token cache
Describe the solution you'd like
MSAL could use an encrypted credential store like GPG/pass, which is used by GCM