AWS payment-cryptography documentation change
Summary
Modified key ARN examples to exclude account IDs in CVV2 operations
Security assessment
Standardizes example ARN format without account numbers. No security-related context or vulnerability addressed in changes.
Diff
diff --git a/payment-cryptography/latest/userguide/use-cases-issuers.generalfunctions.cvv2.md b/payment-cryptography/latest/userguide/use-cases-issuers.generalfunctions.cvv2.md index 09dd74952..e453b2fdc 100644 --- a//payment-cryptography/latest/userguide/use-cases-issuers.generalfunctions.cvv2.md +++ b//payment-cryptography/latest/userguide/use-cases-issuers.generalfunctions.cvv2.md @@ -21 +21 @@ The response echoes back the request parameters, including an ARN for subsequent - "KeyArn": "arn:aws:payment-cryptography:us-east-2:111122223333:key/7f7g4spf3xcklhzu", + "KeyArn": "arn:aws:payment-cryptography:us-east-2::key/7f7g4spf3xcklhzu", @@ -49 +49 @@ The response echoes back the request parameters, including an ARN for subsequent -Take note of the `KeyArn` that represents the key, for example _arn:aws:payment-cryptography:us-east-2:111122223333:key/7f7g4spf3xcklhzu_. You need that in the next step. +Take note of the `KeyArn` that represents the key, for example _arn:aws:payment-cryptography:us-east-2::key/7f7g4spf3xcklhzu_. You need that in the next step. @@ -58 +58 @@ For all available parameters see [CardVerificationValue2](https://docs.aws.amazo - $ aws payment-cryptography-data generate-card-validation-data --key-identifier arn:aws:payment-cryptography:us-east-2:111122223333:key/7f7g4spf3xcklhzu --primary-account-number=171234567890123 --generation-attributes CardVerificationValue2='{CardExpiryDate=1127}' + $ aws payment-cryptography-data generate-card-validation-data --key-identifier arn:aws:payment-cryptography:us-east-2::key/7f7g4spf3xcklhzu --primary-account-number=171234567890123 --generation-attributes CardVerificationValue2='{CardExpiryDate=1127}' @@ -63 +63 @@ For all available parameters see [CardVerificationValue2](https://docs.aws.amazo - "KeyArn": "arn:aws:payment-cryptography:us-east-2:111122223333:key/7f7g4spf3xcklhzu", + "KeyArn": "arn:aws:payment-cryptography:us-east-2::key/7f7g4spf3xcklhzu", @@ -80 +80 @@ CVV2 and the other inputs are user entered values. As such, it is not necessaril - $ aws payment-cryptography-data verify-card-validation-data --key-identifier arn:aws:payment-cryptography:us-east-2:111122223333:key/7f7g4spf3xcklhzu --primary-account-number=171234567890123 --verification-attributes CardVerificationValue2='{CardExpiryDate=1127} --validation-data 321 + $ aws payment-cryptography-data verify-card-validation-data --key-identifier arn:aws:payment-cryptography:us-east-2::key/7f7g4spf3xcklhzu --primary-account-number=171234567890123 --verification-attributes CardVerificationValue2='{CardExpiryDate=1127} --validation-data 321 @@ -85 +85 @@ CVV2 and the other inputs are user entered values. As such, it is not necessaril - "KeyArn": "arn:aws:payment-cryptography:us-east-2:111122223333:key/7f7g4spf3xcklhzu", + "KeyArn": "arn:aws:payment-cryptography:us-east-2::key/7f7g4spf3xcklhzu",