Skip to content

VMSSH with managed identity #21443

Description

@krmunio

def get_msal_token(self, scopes, data):

After MSAL adopted completely, would it be available with Managed Identity for VMSSH?
If yes, when would it be possible?

  • Login with MI : az login -i -u /subscriptions/{subscription id}/resourceGroups/{resource group}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{myMI}
  • Command : az ssh cert --public-key-file ./test.pub
  • Error : VM SSH currently doesn't support managed identity or Cloud Shell.
    from azure.cli.core.azclierror import AuthenticationError

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions