Module Smaws_Client_PaymentCryptography.GetPublicKeyCertificate

Gets the public key certificate of the asymmetric key pair that exists within Amazon Web Services Payment Cryptography.

Unlike the private key of an asymmetric key, which never leaves Amazon Web Services Payment Cryptography unencrypted, callers with GetPublicKeyCertificate permission can download the public key certificate of the asymmetric key. You can share the public key certificate to allow others to encrypt messages and verify signatures outside of Amazon Web Services Payment Cryptography

Cross-account use: This operation supports cross-account use when the key has a resource-based policy that grants access. For more information, see Resource-based policies.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerException of Types.internal_server_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.get_public_key_certificate_input -> (Types.get_public_key_certificate_output, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerException of Types.internal_server_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.get_public_key_certificate_input -> (Types.get_public_key_certificate_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InternalServerException of Types.internal_server_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ServiceUnavailableException of Types.service_unavailable_exception | `ThrottlingException of Types.throttling_exception | `ValidationException of Types.validation_exception ] * Smaws_Lib.Response.metadata) Stdlib.result