Using managed identies for Azure resources

110 views
Skip to first unread message

Prithvi Reddy

unread,
Feb 25, 2019, 10:44:16 AM2/25/19
to Packer
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 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.


jaiswa...@gmail.com

unread,
Apr 27, 2021, 1:18:39 PM4/27/21
to Packer
Remove tenant id and subscription id if provided in json file
Reply all
Reply to author
Forward
0 new messages