AWS code-library documentation change
Summary
Added KeyMaterialId field, fixed markdown link formatting, and consolidated example text
Security assessment
Changes focus on documentation formatting and example completeness rather than security features or vulnerabilities. Link correction improves accuracy but isn't security-specific.
Diff
diff --git a/code-library/latest/ug/kms_example_kms_GenerateDataKey_section.md b/code-library/latest/ug/kms_example_kms_GenerateDataKey_section.md index 3c368de00..59909020d 100644 --- a//code-library/latest/ug/kms_example_kms_GenerateDataKey_section.md +++ b//code-library/latest/ug/kms_example_kms_GenerateDataKey_section.md @@ -36,0 +37 @@ Output: + "KeyMaterialId": "0b7fd7ddbac6eef27907413567cad8c810e2883dc8a7534067a82ee1142fc1e6", @@ -42,3 +43 @@ The `Plaintext` (plaintext data key) and the `CiphertextBlob` (encrypted data ke -For more information, see Data keys <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys in the _AWS Key Management Service Developer Guide_. - -**Example 2: To generate a 512-bit symmetric data key** +For more information, see [Data keys](https://docs.aws.amazon.com/kms/latest/developerguide/data-keys.html) in the _AWS Key Management Service Developer Guide_. **Example 2: To generate a 512-bit symmetric data key** @@ -66 +65,2 @@ Output: - "KeyId": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab" + "KeyId": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", + "KeyMaterialId": "0b7fd7ddbac6eef27907413567cad8c810e2883dc8a7534067a82ee1142fc1e6" @@ -71 +71 @@ The `Plaintext` (plaintext data key) and `CiphertextBlob` (encrypted data key) a -For more information, see Data keys <https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#data-keys in the _AWS Key Management Service Developer Guide_. +For more information, see [Data keys](https://docs.aws.amazon.com/kms/latest/developerguide/data-keys.html) in the _AWS Key Management Service Developer Guide_.