Remove tenant id and subscription id if provided in json file On Monday, February 25, 2019 at 9:14:16 PM UTC+5:30 [email protected] wrote:
> 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/hashicorp/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/12066ff6-e472-4f32-8a28-53bc2e6a42a2n%40googlegroups.com.
