title: Using azure cli from virtual machine
body: <p>I need to use the azure cli from within a linux virtual machine. There are two contraints:</p>
  
  <ol>
  <li>cannot use/store the credentials used for creating the VM on the VM.</li>
  <li>the login/authentication need to be automated (non-interactive)</li>
  </ol>
  
  <p>On AWS, I can use instance profiles for such scenario, but I am unable to find any feasible approach for Azure. Any help is greatly appreciated.</p>