You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* particular trusted accounts. For details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/iam-policies.html#iam-policies-best-practices">Best practices for IAM
84
84
* policies</a> in the <i>Key Management Service Developer Guide</i>.</p>
85
85
* <p>
86
-
* <code>Decrypt</code> also supports <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html">Amazon Web Services Nitro Enclaves</a> and NitroTPM, which provide
87
-
* attested environments in Amazon EC2. To call <code>Decrypt</code> for a Nitro enclave or NitroTPM, use
88
-
* the <a href="https://docs.aws.amazon.com/enclaves/latest/user/developing-applications.html#sdk">Amazon Web Services Nitro Enclaves SDK</a> or any Amazon Web Services SDK. Use the <code>Recipient</code> parameter to provide the
89
-
* attestation document for the attested environment. Instead of the plaintext data, the response
90
-
* includes the plaintext data encrypted with the public key from the attestation document
91
-
* (<code>CiphertextForRecipient</code>). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves or Amazon Web Services NitroTPM, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/cryptographic-attestation.html">Cryptographic attestation support in KMS</a> in the <i>Key Management Service Developer Guide</i>.</p>
86
+
* <code>Decrypt</code> also supports <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html">Amazon Web Services Nitro Enclaves</a> and NitroTPM, which
87
+
* provide attested environments in Amazon EC2. To call <code>Decrypt</code> for a Nitro enclave or
88
+
* NitroTPM, use the <a href="https://docs.aws.amazon.com/enclaves/latest/user/developing-applications.html#sdk">Amazon Web Services Nitro Enclaves SDK</a> or any Amazon Web Services SDK. Use the <code>Recipient</code>
89
+
* parameter to provide the attestation document for the attested environment. Instead of the
90
+
* plaintext data, the response includes the plaintext data encrypted with the public key from
91
+
* the attestation document (<code>CiphertextForRecipient</code>). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves or Amazon Web Services NitroTPM, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/cryptographic-attestation.html">Cryptographic attestation support in KMS</a> in the <i>Key Management Service Developer Guide</i>.</p>
92
92
* <p>The KMS key that you use for this operation must be in a compatible key state. For
93
93
* details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key states of KMS keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
* <code>GenerateDataKey</code> also supports <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html">Amazon Web Services Nitro Enclaves</a>, which provide an
60
60
* isolated compute environment in Amazon EC2. To call <code>GenerateDataKey</code> for an Amazon Web Services Nitro
61
-
* enclave or NitroTPM, use the <a href="https://docs.aws.amazon.com/enclaves/latest/user/developing-applications.html#sdk">Amazon Web Services Nitro Enclaves SDK</a> or any Amazon Web Services SDK. Use the <code>Recipient</code> parameter
62
-
* to provide the attestation document for the attested environment. <code>GenerateDataKey</code> returns a
63
-
* copy of the data key encrypted under the specified KMS key, as usual. But instead of a
64
-
* plaintext copy of the data key, the response includes a copy of the data key encrypted under
65
-
* the public key from the attestation document (<code>CiphertextForRecipient</code>).
66
-
* For information about the interaction between KMS and Amazon Web Services Nitro Enclaves or Amazon Web Services NitroTPM, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/cryptographic-attestation.html">Cryptographic attestation support in KMS</a> in the <i>Key Management Service Developer Guide</i>.</p>
61
+
* enclave or NitroTPM, use the <a href="https://docs.aws.amazon.com/enclaves/latest/user/developing-applications.html#sdk">Amazon Web Services Nitro Enclaves SDK</a> or any Amazon Web Services SDK. Use the
62
+
* <code>Recipient</code> parameter to provide the attestation document for the attested
63
+
* environment. <code>GenerateDataKey</code> returns a copy of the data key encrypted under the
64
+
* specified KMS key, as usual. But instead of a plaintext copy of the data key, the response
65
+
* includes a copy of the data key encrypted under the public key from the attestation document
66
+
* (<code>CiphertextForRecipient</code>). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves or Amazon Web Services NitroTPM, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/cryptographic-attestation.html">Cryptographic attestation support in KMS</a> in the <i>Key Management Service Developer Guide</i>.</p>
67
67
* <p>The KMS key that you use for this operation must be in a compatible key state. For
68
68
* details, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">Key states of KMS keys</a> in the <i>Key Management Service Developer Guide</i>.</p>
* <code>GenerateDataKeyPair</code> also supports <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nitro-enclave.html">Amazon Web Services Nitro Enclaves</a>, which provide an
67
67
* isolated compute environment in Amazon EC2. To call <code>GenerateDataKeyPair</code> for an Amazon Web Services
68
-
* Nitro enclave or NitroTPM, use the <a href="https://docs.aws.amazon.com/enclaves/latest/user/developing-applications.html#sdk">Amazon Web Services Nitro Enclaves SDK</a> or any Amazon Web Services SDK. Use the <code>Recipient</code>
69
-
* parameter to provide the attestation document for the attested environment.
70
-
* <code>GenerateDataKeyPair</code> returns the public data key and a copy of the private data
71
-
* key encrypted under the specified KMS key, as usual. But instead of a plaintext copy of the
72
-
* private data key (<code>PrivateKeyPlaintext</code>), the response includes a copy of the
73
-
* private data key encrypted under the public key from the attestation document
68
+
* Nitro enclave or NitroTPM, use the <a href="https://docs.aws.amazon.com/enclaves/latest/user/developing-applications.html#sdk">Amazon Web Services Nitro Enclaves SDK</a> or any Amazon Web Services SDK. Use the
69
+
* <code>Recipient</code> parameter to provide the attestation document for the attested
70
+
* environment. <code>GenerateDataKeyPair</code> returns the public data key and a copy of the
71
+
* private data key encrypted under the specified KMS key, as usual. But instead of a plaintext
72
+
* copy of the private data key (<code>PrivateKeyPlaintext</code>), the response includes a copy
73
+
* of the private data key encrypted under the public key from the attestation document
74
74
* (<code>CiphertextForRecipient</code>). For information about the interaction between KMS and Amazon Web Services Nitro Enclaves or Amazon Web Services NitroTPM, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/cryptographic-attestation.html">Cryptographic attestation support in KMS</a> in the <i>Key Management Service Developer Guide</i>.</p>
75
75
* <p>You can use an optional encryption context to add additional security to the encryption
76
76
* operation. If you specify an <code>EncryptionContext</code>, you must specify the same
0 commit comments