How to Leverage Managed Identity for Azure VM Run Commands
6 min readMar 10, 2024
In my previous article, when playing around with Set-AzVMRunCommand
in Azure, I was using the SAS token URI to download and return content to an Azure Storage Account.
While SAS token URIs deserves its place, Managed Identities eliminates the need to rotate tokens, and enhances the security aspect since it does not expose credentials or tokens.