Skip to content

VMSSH with managed identity #21443

@millanie

Description

@millanie

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions