AWS Security ChangesHomeSearch

AWS kms: Update KMS PutKeyPolicy example account and key IDs

Service: kms · 2026-10-31 · Documentation low

File: kms/latest/developerguide/example_kms_PutKeyPolicy_section.md

Summary

Replaced placeholder account numbers and KMS key IDs in the PutKeyPolicy example policy and CLI commands.

Security assessment

Only example account/key identifiers were swapped; the policy semantics and security guidance are unchanged.

Evidence

                    "AWS" : "arn:aws:iam::123456789012:root"

Diff

diff --git a/kms/latest/developerguide/example_kms_PutKeyPolicy_section.md b/kms/latest/developerguide/example_kms_PutKeyPolicy_section.md
index c287dc9..5bd62e2 100644
--- a//kms/latest/developerguide/example_kms_PutKeyPolicy_section.md
+++ b//kms/latest/developerguide/example_kms_PutKeyPolicy_section.md
@@ -36 +36 @@ Contents of `key_policy.json`:
-                    "AWS" : "arn:aws:iam::111122223333:root"
+                    "AWS" : "arn:aws:iam::123456789012:root"
@@ -45 +45 @@ Contents of `key_policy.json`:
-                    "AWS" : "arn:aws:iam::111122223333:user/test-user"
+                    "AWS" : "arn:aws:iam::123456789012:user/test-user"
@@ -61 +61 @@ To identify the KMS key, this example uses the key ID, but you can also use a ke
-        --key-id 1234abcd-12ab-34cd-56ef-1234567890ab \
+        --key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \
@@ -70 +70 @@ This command does not produce any output. To verify that the command was effecti
-        --key-id 1234abcd-12ab-34cd-56ef-1234567890ab \
+        --key-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \
@@ -85 +85 @@ Output:
-                    "AWS" : "arn:aws:iam::111122223333:root"
+                    "AWS" : "arn:aws:iam::123456789012:root"
@@ -94 +94 @@ Output:
-                    "AWS" : "arn:aws:iam::111122223333:user/test-user"
+                    "AWS" : "arn:aws:iam::123456789012:user/test-user"