AWS Security ChangesHomeSearch

AWS cli medium security documentation change

Service: cli · 2025-11-01 · Security-related medium

File: cli/latest/reference/payment-cryptography/get-certificate-signing-request.md

Summary

Updated CLI version reference, improved parameter descriptions for certificate signing requests, and modified input validation patterns for certificate subject fields

Security assessment

Changed input validation patterns from [A-Za-z]+ to [^\[;\]<>]+ for certificate subject fields prevents potentially dangerous characters in certificate metadata. This appears to address injection risks by restricting special characters that could be used in certificate spoofing or command injection attacks.

Diff

diff --git a/cli/latest/reference/payment-cryptography/get-certificate-signing-request.md b/cli/latest/reference/payment-cryptography/get-certificate-signing-request.md
index a039739ca..231186580 100644
--- a//cli/latest/reference/payment-cryptography/get-certificate-signing-request.md
+++ b//cli/latest/reference/payment-cryptography/get-certificate-signing-request.md
@@ -15 +15 @@
-  * [AWS CLI 2.31.26 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.27 Command Reference](../../index.html) »
@@ -59 +59 @@ First time using the AWS CLI? See the [User Guide](https://docs.aws.amazon.com/c
-Used to retrieve the public key for a keypair.
+Creates a certificate signing request (CSR) from a key pair.
@@ -108 +108 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
-> Algorithm used to generate the certificate signing request
+> The cryptographic algorithm used to sign your CSR.
@@ -121 +121 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
-> Certificate subject data
+> The metadata used to create the CSR.
@@ -125 +125 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->> Common Name to be used in the certificate signing request
+>> The name you provide to create the certificate signing request.
@@ -131 +131 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->>   * pattern: `[A-Za-z]+`
+>>   * pattern: `[^\[;\]<>]+`
@@ -137 +137 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->> Organization Unit to be used in the certificate signing request
+>> The organization unit you provide to create the certificate signing request.
@@ -143 +143 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->>   * pattern: `[A-Za-z]+`
+>>   * pattern: `[^\[;\]<>]+`
@@ -149 +149 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->> Organization to be used in the certificate signing request
+>> The organization you provide to create the certificate signing request.
@@ -155 +155 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->>   * pattern: `[A-Za-z]+`
+>>   * pattern: `[^\[;\]<>]+`
@@ -161 +161 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->> City to be used in the certificate signing request
+>> The city you provide to create the certificate signing request.
@@ -167 +167 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->>   * pattern: `[A-Za-z]+`
+>>   * pattern: `[^\[;\]<>]+`
@@ -173 +173 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->> Country to be used in the certificate signing request
+>> The city you provide to create the certificate signing request.
@@ -185 +185 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->> State Or Province to be used in the certificate signing request
+>> The state or province you provide to create the certificate signing request.
@@ -191 +191 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->>   * pattern: `[A-Za-z]+`
+>>   * pattern: `[^\[;\]<>]+`
@@ -197 +197 @@ See also: [AWS API Documentation](https://docs.aws.amazon.com/goto/WebAPI/paymen
->> Email to be used in the certificate signing request
+>> The email address you provide to create the certificate signing request.
@@ -328 +328 @@ CertificateSigningRequest -> (string)
-> Certificate signing request
+> The certificate signing request generated using the key pair associated with the key identifier.
@@ -348 +348 @@ CertificateSigningRequest -> (string)
-  * [AWS CLI 2.31.26 Command Reference](../../index.html) »
+  * [AWS CLI 2.31.27 Command Reference](../../index.html) »