I have enabled a managed identity for an Azure Linux vm and extracted the packer executable to the Linux vm. Per the documentation, I should not need to pass any parameters in order to use the managed identity but keep getting an authorization error. What is the way to pass the managed identity access token into the packer buildfile?
Managed identities for Azure resources Managed identities for Azure resources is the new name for the service formerly known as Managed Service Identity (MSI). Managed identities is an alternative way to authorize in Azure Packer. Managed identities for Azure resources are automatically managed by Azure and enable you to authenticate to services that support Azure AD authentication without needing to insert credentials into your buildfile. Navigate to managed identities azure resources overview <https://docs.microsoft.com/en-gb/azure/active-directory/managed-identities-azure-resources/overview> to learn more about this feature. This feature will be used when no subscription_id, client_id or client_secret is set in your buildfile. -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/79eb4654-d3fb-4b15-bc8a-d2eaecd49056%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
