Managed Identity Keypair added to ssh authorized_keys on Ubuntu

I’ve noticed that when I have a System Managed Identity attached to my VM on launch, an extra key is added to the authorized_keys. The extra key is the Managed Identity’s key pair converted into ssh format.

Is this supposed to happen? I thought that key was for software running on my VM to authenticate to other Azure services, not for something to authenticate to my VM over SSH. Are there any docs that describe this SSH auth? I can only find docs on the service auth.

submitted by /u/daxlreod
[link] [comments]

Leave a Reply