Smaws_Client_Redshift.CreateHsmClientCertificateCreates an HSM client certificate that an Amazon Redshift cluster will use to connect to the client's HSM in order to store and retrieve the keys used to encrypt the cluster databases.
The command returns a public key, which you must store in the HSM. In addition to creating the HSM certificate, you must create an Amazon Redshift HSM configuration that provides a cluster the information needed to store and use encryption keys in the HSM. For more information, go to Hardware Security Modules in the Amazon Redshift Cluster Management Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `HsmClientCertificateAlreadyExistsFault of
Types.hsm_client_certificate_already_exists_fault
| `HsmClientCertificateQuotaExceededFault of
Types.hsm_client_certificate_quota_exceeded_fault
| `InvalidTagFault of Types.invalid_tag_fault
| `TagLimitExceededFault of Types.tag_limit_exceeded_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_hsm_client_certificate_message ->
(Types.create_hsm_client_certificate_result,
[> Smaws_Lib.Protocols.AwsQuery.error
| `HsmClientCertificateAlreadyExistsFault of
Types.hsm_client_certificate_already_exists_fault
| `HsmClientCertificateQuotaExceededFault of
Types.hsm_client_certificate_quota_exceeded_fault
| `InvalidTagFault of Types.invalid_tag_fault
| `TagLimitExceededFault of Types.tag_limit_exceeded_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_hsm_client_certificate_message ->
(Types.create_hsm_client_certificate_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `HsmClientCertificateAlreadyExistsFault of
Types.hsm_client_certificate_already_exists_fault
| `HsmClientCertificateQuotaExceededFault of
Types.hsm_client_certificate_quota_exceeded_fault
| `InvalidTagFault of Types.invalid_tag_fault
| `TagLimitExceededFault of Types.tag_limit_exceeded_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result