By using this option it's possible to get credentials from the machine: https://docs.microsoft.com/en-us/azure/active-directory/msi-tutorial-linux-vm-access-arm