Encrypt Image with Customer Managed Keys with Packer within Azure

Is it possible to encrypt using customer managed keys for either an Azure Managed Image or an image within the Azure Compute Gallery using Packer?