PaymentCryptographyControlPlane / Client / get_certificate_signing_request
get_certificate_signing_request¶
- PaymentCryptographyControlPlane.Client.get_certificate_signing_request(**kwargs)¶
Creates a certificate signing request (CSR) from a key pair.
See also: AWS API Documentation
Request Syntax
response = client.get_certificate_signing_request( KeyIdentifier='string', SigningAlgorithm='SHA224'|'SHA256'|'SHA384'|'SHA512', CertificateSubject={ 'CommonName': 'string', 'OrganizationUnit': 'string', 'Organization': 'string', 'City': 'string', 'Country': 'string', 'StateOrProvince': 'string', 'EmailAddress': 'string' } )
- Parameters:
KeyIdentifier (string) –
[REQUIRED]
Asymmetric key used for generating the certificate signing request
SigningAlgorithm (string) –
[REQUIRED]
The cryptographic algorithm used to sign your CSR.
CertificateSubject (dict) –
[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 city 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.
- Return type:
dict
- Returns:
Response Syntax
{ 'CertificateSigningRequest': 'string' }
Response Structure
(dict) –
CertificateSigningRequest (string) –
The certificate signing request generated using the key pair associated with the key identifier.
Exceptions
PaymentCryptographyControlPlane.Client.exceptions.ServiceUnavailableExceptionPaymentCryptographyControlPlane.Client.exceptions.ValidationExceptionPaymentCryptographyControlPlane.Client.exceptions.AccessDeniedExceptionPaymentCryptographyControlPlane.Client.exceptions.ResourceNotFoundExceptionPaymentCryptographyControlPlane.Client.exceptions.ThrottlingExceptionPaymentCryptographyControlPlane.Client.exceptions.InternalServerException