AWS Security ChangesHomeSearch

AWS payment-cryptography low security documentation change

Service: payment-cryptography · 2025-08-01 · Security-related low

File: payment-cryptography/latest/userguide/encrypt-data.md

Summary

Removed AWS account ID from example KeyArn in encrypt-data command

Security assessment

Removing account IDs from encryption examples follows security best practices for documentation to prevent accidental credential leakage.

Diff

diff --git a/payment-cryptography/latest/userguide/encrypt-data.md b/payment-cryptography/latest/userguide/encrypt-data.md
index 80ad008a5..d1aa96f3d 100644
--- a//payment-cryptography/latest/userguide/encrypt-data.md
+++ b//payment-cryptography/latest/userguide/encrypt-data.md
@@ -97 +97 @@ For PKCS #7 or other padding schemes not currently supported, please apply prior
-    $ aws payment-cryptography-data encrypt-data --key-identifier arn:aws:payment-cryptography:us-east-2:111122223333:key/thfezpmsalcfwmsg --plain-text 31323334313233343132333431323334 --encryption-attributes 'Asymmetric={PaddingType=OAEP_SHA256}'
+    $ aws payment-cryptography-data encrypt-data --key-identifier arn:aws:payment-cryptography:us-east-2::key/thfezpmsalcfwmsg --plain-text 31323334313233343132333431323334 --encryption-attributes 'Asymmetric={PaddingType=OAEP_SHA256}'