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 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 abstract CreateHsmClientCertificateResponse CreateHsmClientCertificate( CreateHsmClientCertificateRequest request )
Container for the necessary parameters to execute the CreateHsmClientCertificate service method.
Exception | Condition |
---|---|
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 | You have exceeded the number of tags allowed. |
This example creates a new HSM certificate.
var client = new AmazonRedshiftClient(); var response = client.CreateHsmClientCertificate(new CreateHsmClientCertificateRequest { HsmClientCertificateIdentifier = "my-hsm" });
.NET Framework:
Supported in: 4.5, 4.0, 3.5