AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates 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.


For .NET Core and PCL this operation is only available in asynchronous form. Please refer to CreateHsmClientCertificateAsync.

Namespace: Amazon.Redshift
Assembly: AWSSDK.Redshift.dll
Version: 3.x.y.z


public virtual CreateHsmClientCertificateResponse CreateHsmClientCertificate(
         CreateHsmClientCertificateRequest request
Type: Amazon.Redshift.Model.CreateHsmClientCertificateRequest

Container for the necessary parameters to execute the CreateHsmClientCertificate service method.

Return Value
The response from the CreateHsmClientCertificate service method, as returned by Redshift.


HsmClientCertificateAlreadyExistsException There is already an existing Amazon Redshift HSM client certificate with the specified identifier.
HsmClientCertificateQuotaExceededException The quota for HSM client certificates has been reached. For information about increasing your quota, go to Limits in Amazon Redshift in the Amazon Redshift Cluster Management Guide.
InvalidTagException The tag is invalid.
TagLimitExceededException The number of tables in your source cluster exceeds the limit for the target cluster. Resize to a larger cluster node type.


This example creates a new HSM certificate.

To create a new HSM certificate

var response = client.CreateHsmClientCertificate(new CreateHsmClientCertificateRequest 
    HsmClientCertificateIdentifier = "my-hsm"


Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also