AWS kms: Update KMS ReEncrypt example key IDs and links
Summary
Updated example source/destination key IDs, minor wording fixes, and changed reference links to the KMS cryptography guide.
Security assessment
Changes are cosmetic placeholder updates and link retargeting; no security behavior or vulnerability is addressed.
Evidence
--source-key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \
Diff
diff --git a/kms/latest/developerguide/example_kms_ReEncrypt_section.md b/kms/latest/developerguide/example_kms_ReEncrypt_section.md index f965a17..dbfe97d 100644 --- a//kms/latest/developerguide/example_kms_ReEncrypt_section.md +++ b//kms/latest/developerguide/example_kms_ReEncrypt_section.md @@ -17 +17 @@ CLI -**Example 1: To re-encrypt an encrypted message under a different symmetric KMS key (Linux and macOS).** +**Example 1: To re-encrypt an encrypted message under a different symmetric KMS key (Linux and macOS)** @@ -19 +19 @@ CLI -The following `re-encrypt` command example demonstrates the recommended way to re-encrypt data with the AWS CLI. +The following `re-encrypt` example demonstrates the recommended way to re-encrypt data with the AWS CLI. @@ -28,2 +28,2 @@ Before running this command, replace the example key IDs with valid key identifi - --source-key-id 1234abcd-12ab-34cd-56ef-1234567890ab \ - --destination-key-id 0987dcba-09fe-87dc-65ba-ab0987654321 \ + --source-key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \ + --destination-key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE22222 \ @@ -36 +36 @@ This command produces no output. The output from the `re-encrypt` command is bas -For more information, see [ReEncrypt](https://docs.aws.amazon.com/kms/latest/APIReference/API_ReEncrypt.html) in the _AWS Key Management Service API Reference_. +For more information, see [AWS KMS cryptography essentials](https://docs.aws.amazon.com/kms/latest/developerguide/kms-cryptography.html#symmetric-key-0ps) in the _AWS Key Management Service Developer Guide_. @@ -38 +38 @@ For more information, see [ReEncrypt](https://docs.aws.amazon.com/kms/latest/API -**Example 2: To re-encrypt an encrypted message under a different symmetric KMS key (Windows command prompt).** +**Example 2: To re-encrypt an encrypted message under a different symmetric KMS key (Windows command prompt)** @@ -40 +40 @@ For more information, see [ReEncrypt](https://docs.aws.amazon.com/kms/latest/API -The following `re-encrypt` command example is the same as the previous one except that it uses the `certutil` utility to Base64-decode the plaintext data. This procedure requires two commands, as shown in the following examples. +The following `re-encrypt` example is the same as the previous one except that it uses the `certutil` utility to Base64-decode the plaintext data. This procedure requires two commands, as shown in the following examples. @@ -47,2 +47,2 @@ Before running this command, replace the example key ID with a valid key ID from - --source-key-id 1234abcd-12ab-34cd-56ef-1234567890ab ^ - --destination-key-id 0987dcba-09fe-87dc-65ba-ab0987654321 ^ + --source-key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 ^ + --destination-key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE22222 ^ @@ -53 +53 @@ Before running this command, replace the example key ID with a valid key ID from -Then use the `certutil` utility +Then use the `certutil` utility. @@ -65 +65 @@ Output: -For more information, see [ReEncrypt](https://docs.aws.amazon.com/kms/latest/APIReference/API_ReEncrypt.html) in the _AWS Key Management Service API Reference_. +For more information, see [AWS KMS cryptography essentials](https://docs.aws.amazon.com/kms/latest/developerguide/kms-cryptography.html#symmetric-key-0ps) in the _AWS Key Management Service Developer Guide_.