-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamfeature-request
Milestone
Description
Is your feature request related to a problem? Please describe.
Azure/azure-sdk-for-python#36565 and Azure/azure-sdk-for-python#36882 introduced a new get_token_info token protocol.
Azure CLI currently supports 2 types of protocols:
- Track 1:
signed_session - Track 2:
get_token
Describe the solution you'd like
After Azure CLI fully drops Track 1 SDK's signed_session support, we should consider migrating get_token to get_token_info. The main benefit is that the returned AccessTokenInfo object has a token_type attribute which can be used for a PoP token.
Meanwhile, Azure CLI Core should be refactored to not rely on SDK's token protocol, in order to be more cohesive and less coupled with SDK (#29955). For example, get_raw_token should not call
| sdk_token = credential.get_token(*scopes) |
Metadata
Metadata
Assignees
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamfeature-request