Open
Description
MSAL client type
Public, Confidential
Problem Statement
data
has been used for a long time for getting SSH certificates, but it is still not publicly documented and is part of kwargs
:
Azure CLI currently passes kwargs
received by get_token()
directly to MSAL. Since SDK is adding more keyword arguments, such as enable_cae
(Azure/azure-sdk-for-python#37358), this will cause failure as enable_cae
is not recognized by MSAL.
Azure CLI is considering making data
an official keyword argument of get_token()
so that only known arguments (scopes
, claims_challenge
, data
) are passed to MSAL and kwargs
received by get_token()
is no longer directly passed to MSAL.
Proposed solution
Move data
out of kwargs
and make it a public keyword argument.