AWS kms: Update KMS Sign example key IDs and add steps
Summary
Replaced example key IDs/account and added clarifying steps for Base64-encoding and signing the message.
Security assessment
Changes are placeholder updates and procedural clarifications; no security vulnerability or feature is addressed.
Evidence
--key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \
Diff
diff --git a/kms/latest/developerguide/example_kms_Sign_section.md b/kms/latest/developerguide/example_kms_Sign_section.md index f9e0d7b..50e6ff9 100644 --- a//kms/latest/developerguide/example_kms_Sign_section.md +++ b//kms/latest/developerguide/example_kms_Sign_section.md @@ -38 +38 @@ Before running this command, replace the example key ID with a valid key ID from - --key-id 1234abcd-12ab-34cd-56ef-1234567890ab \ + --key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \ @@ -47 +47 @@ Output: - "KeyId": "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab", + "KeyId": "arn:aws:kms:us-west-2:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111", @@ -61,0 +62,2 @@ Before running this command, replace the example key ID with a valid key ID from +First, Base64-encode the message and save it in the `EncodedMessage` file. + @@ -64,0 +67,3 @@ Before running this command, replace the example key ID with a valid key ID from +Then, sign the encoded message. + + @@ -66 +71 @@ Before running this command, replace the example key ID with a valid key ID from - --key-id 1234abcd-12ab-34cd-56ef-1234567890ab \ + --key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \