So we have to be careful in clarifying what kind of encryption you're 
asking for.  In Azure (unlike in AWS) "Azure Disk Encryption" is OS aware 
and leverages bitlocker/DM-Crypt.  These get generated after the system is 
booted and thus have limitations on the source image being encrypted:

https://docs.microsoft.com/en-us/azure/security/azure-security-disk-encryption-overview

Most of it is around Linux, but still, should be aware of that limitation.  
Generally I find it's easiest to simply enable the encryption during 
deployment rather than during packaging.


On Tuesday, April 2, 2019 at 1:23:32 PM UTC-7, Matthew wrote:
>
> Hi,
>
> I'm new to Packer and wondering about approaches to create encrypted 
> images in Azure. If encrypting by Packer is not possible, would encrypting 
> the image after Packer finishes be the best option?
>
> Thanks!
> Matthew
>

-- 
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/caf4f58d-d7e8-42ac-be34-8a5fd51700be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to