AWS CloudHSM with own keys

0

Hi Gyus,

Can I transfer my private keys to AWS CloudHSM?

_PM_
已提問 1 年前檢視次數 376 次
1 個回答
3
已接受的答案

Hello ,

Thank you for posting your question on the AWS Repost, my name is Rochak and it will be a pleasure assisting you with this today.

I understand you would like to transfer your private keys to AWS CloudHSM. Yes, you can import your private keys to CloudHSM.

The importPrivateKey command in key_mgmt_util imports an asymmetric private key from a file to an HSM. Please note that the HSM does not allow direct import of keys in cleartext. Also, you cannot import a password-protected PEM key using a symmetric or private key. You can see the steps and an example here[1]

This document provides you with the steps on how you can transfer your keys to CloudHSM with OpenSSL and the key_mgmt_util command line tool. [2]

I hope this helps. If you need further info, let me know in the comments; otherwise I'd appreciate if you mark my answer as "accepted".

Kind regards, Rochak from AWS

References:

[1] Import Private Key https://docs.aws.amazon.com/cloudhsm/latest/userguide/key_mgmt_util-importPrivateKey.html

[2] How can I securely transfer my keys to CloudHSM with OpenSSL and the key_mgmt_util command line tool? https://repost.aws/knowledge-center/cloudhsm-import-keys-openssl

AWS
已回答 1 年前
profile pictureAWS
專家
kentrad
已審閱 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南