Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{Identity} Add back get_msal_token #16596

Merged
merged 3 commits into from
Jan 21, 2021
Merged

{Identity} Add back get_msal_token #16596

merged 3 commits into from
Jan 21, 2021

Conversation

fengzhou-msft
Copy link
Member

Description

The get_msal_token method was added with a hack to use adal refresh token to get msal ssh cert for vm ssh feature used in the ssh extension.

This PR adds back a get_msal_token method with the same interface for backward compatibility, but use azure-identity to fetch the ssh cert.

Testing Guide

  1. Create a Ubuntu vm on portal and remember to enable system assigned identity and AAD login in the management tab.
    image

  2. Assign a Virtual Machine Administrator Login or Virtual Machine UserLogin role over the vm scope for your account.

  3. Run az ssh vm -g <> --vm-name <>

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.


This checklist is used to make sure that common guidelines for a pull request are followed.

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 20, 2021

@jiasli for awareness

@jiasli
Copy link
Member

jiasli commented Jan 21, 2021

We can ignore those Linux builds as we are releasing via pip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants