---
title: "POST /#X-Amz-Target=PaymentCryptographyControlPlane.GetCertificateSigningRequest"
method: POST
path: "/#X-Amz-Target=PaymentCryptographyControlPlane.GetCertificateSigningRequest"
---

# POST /#X-Amz-Target=PaymentCryptographyControlPlane.GetCertificateSigningRequest

`POST /#X-Amz-Target=PaymentCryptographyControlPlane.GetCertificateSigningRequest`

Creates a certificate signing request (CSR) from a key pair.

## Headers

- `X-Amz-Target` 'PaymentCryptographyControlPlane.GetCertificateSigningRequest', required

## Request body

- GetCertificateSigningRequestInput
  - `KeyIdentifier` string, required — Asymmetric key used for generating the certificate signing request
  - `SigningAlgorithm` 'SHA224' | 'SHA256' | 'SHA384' | 'SHA512', required — The cryptographic algorithm used to sign your CSR.
  - `CertificateSubject` object, required — The metadata used to create the CSR.
    - `CommonName` string, required — The name you provide to create the certificate signing request.
    - `OrganizationUnit` string — The organization unit you provide to create the certificate signing request.
    - `Organization` string — The organization you provide to create the certificate signing request.
    - `City` string — The city you provide to create the certificate signing request.
    - `Country` string — The country you provide to create the certificate signing request.
    - `StateOrProvince` string — The state or province you provide to create the certificate signing request.
    - `EmailAddress` string — The email address you provide to create the certificate signing request.

## Response `200`

Success

- GetCertificateSigningRequestOutput
  - `CertificateSigningRequest` string, password, required — The certificate signing request generated using the key pair associated with the key identifier.

## Other responses

- `480` — ServiceUnavailableException
- `481` — ValidationException
- `482` — AccessDeniedException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException
- `485` — InternalServerException

---

[API](https://skmtc.net/aws/apis/payment-cryptography.md) · [All operations](https://skmtc.net/aws/apis/payment-cryptography/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/payment-cryptography/revisions/1b0b83160e8d/schema)
