CmdID / aws / aws acm-pca
aws acm-pca get-certificate-authority-csr
Retrieves the certificate signing request (CSR) for your private certificate authority (CA). AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To retrieve the certificate signing request for a certificate authority
The following get-certificate-authority-csr example retrieves the CSR for the private CA specified by the ARN.
aws acm-pca get-certificate-authority-csr --certificate-authority-arn arn:aws:acm-pca:us-west-2:123456789012:certificate-authority/a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 --output textIdentify--certificate-authority-arnThe Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action.--outputThe formatting style for command output.Its output
-----BEGIN CERTIFICATE REQUEST-----
MIICvjCCAaYCAQAweTELMAkGA1UEBhMCVVMxEzARBgNVBAgMCldhc2hpbmd0b24x
EDAOBgNVBAcMB1NlYXR0bGUxFTATBgNVBAoMDEV4YW1wbGUgQ29ycDEOMAwGA1UE
CwwFU2FsZXMxGDAWBgNVBAMMD3d3dy5leGFtcGxlLmNvbTCCASIwDQYJKoZIhvcN
AQEBBQADggEPADCCAQoCggEBAMEXAMPLEKEYBODYPLACEHOLDERVALUE0000000=
-----END CERTIFICATE REQUEST-----For more information, see Installing the CA certificate in the AWS Private Certificate Authority User Guide.
Options
--certificate-authority-arnThe Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action.