Outside decrypt data encrypted with KMS. Divergency in docs.

0

Hello everybody!

I'm using a KMS assymetric key (RSA 4096) with imported key material to encrypt some pieces of data. Docs says that Asymmetric keys and HMAC keys are portable and interoperable, including decrypt with assymetric private key outside AWS.

But there is a note in Importing key material for AWS KMS keys that says "AWS KMS does not support decrypting any AWS KMS ciphertext outside of AWS KMS, even if the ciphertext was encrypted under a KMS key with imported key material".

One of these informations is wrong, the question is which one?

If is possible to decrypt with assymetric private key outside AWS, how to use original imported key material to do that?

1回答
1

For encryption using asymmetric key (specifically RSA keys), as long as you use the compatible algorithm (i.e., RSAES_OAEP_SHA_1 and RSAES_OAEP_SHA_256) you should be able to decrypt the ciphertext. Link to doc. The statement you highlighted applies to symmetric key that you import.

AWS
回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ