get_certificate_signing_request
async
¶
get_certificate_signing_request(
key_identifier: KeyArnOrKeyAliasType,
signing_algorithm: SigningAlgorithmType,
certificate_subject: CertificateSubjectType,
*,
config_overrides: Optional[AsyncPaymentCryptographyClientConfig] = None,
) -> GetCertificateSigningRequestOutput
Creates a certificate signing request (CSR) from a key pair.
Parameters:
-
key_identifier(KeyArnOrKeyAliasType) –Asymmetric key used for generating the certificate signing request
-
signing_algorithm(SigningAlgorithmType) –The cryptographic algorithm used to sign your CSR.
-
certificate_subject(CertificateSubjectType) –The metadata used to create the CSR.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
This exception is thrown when the caller lacks the necessary IAM permissions to perform the requested operation. Verify that your IAM policy includes the required permissions for the specific Amazon Web Services Payment Cryptography action you're attempting.
-
InternalServerException–The request processing has failed because of an unknown error, exception, or failure.
This indicates a server-side error within the Amazon Web Services Payment Cryptography service. If this error persists, contact support for assistance.
-
ResourceNotFoundException–The request was denied due to resource not found.
The specified key, alias, or other resource does not exist in your account or region. Verify that the resource identifier is correct and that the resource exists in the expected region.
-
ServiceUnavailableException–The service cannot complete the request.
The Amazon Web Services Payment Cryptography service is temporarily unavailable. This is typically a temporary condition - retry your request after a brief delay.
-
ThrottlingException–The request was denied due to request throttling.
You have exceeded the rate limits for Amazon Web Services Payment Cryptography API calls. Implement exponential backoff and retry logic in your application to handle throttling gracefully.
-
ValidationException–The request was denied due to an invalid request error.
One or more parameters in your request are invalid. Check the parameter values, formats, and constraints specified in the API documentation.
-
UnknownServiceError–The service returned an error code this client does not model.