Encryption option for ebs volumes on AWS

98 views
Skip to first unread message

VARSHA GS

unread,
Sep 29, 2016, 11:56:24 PM9/29/16
to Packer
Hi.. I found encryption option "encrypted": true, here it takes the default key to encrypt the volumes. However we were looking option to specify the kms key(customised) / imported from Cloud HSM to encrypt the volumes. Could you please provide the same. ????

Alvaro Miranda Aguilera

unread,
Sep 30, 2016, 3:11:05 AM9/30/16
to packe...@googlegroups.com
Hello,

It seems that the setup doesn't specify a key, since AWS default to the master key.

The initial PR was done here:

That shows the change done to the packer and goamz projects to support this.

The documentation referenced is here:

I can't see any code for keys, so it seems the code as is today just encrypt:
The first time you create an encrypted volume in a region, a default CMK is created for you automatically. This key is used for Amazon EBS encryption unless you select a CMK that you created separately using AWS KMS.

Alvaro.


On Fri, Sep 30, 2016 at 5:56 AM, VARSHA GS <varsh...@gmail.com> wrote:
Hi.. I found encryption option "encrypted": true, here it takes the default key to encrypt the volumes.  However we were looking option to specify the kms key(customised) / imported from Cloud HSM to encrypt the volumes. Could you please provide the same. ????

--
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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/e6d8c5ed-7ebb-4e10-a9ba-fd229471fc1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Rickard von Essen

unread,
Sep 30, 2016, 6:03:54 AM9/30/16
to packe...@googlegroups.com
If you need support for specifying a key adding such functionality would be easy. PR's are welcome.

Regards,
Rickard

Reply all
Reply to author
Forward
0 new messages