Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- createHSMClientCertificate :: Text -> CreateHSMClientCertificate
- data CreateHSMClientCertificate
- chccTags :: Lens' CreateHSMClientCertificate [Tag]
- chccHSMClientCertificateIdentifier :: Lens' CreateHSMClientCertificate Text
- createHSMClientCertificateResponse :: Int -> CreateHSMClientCertificateResponse
- data CreateHSMClientCertificateResponse
- chccrsHSMClientCertificate :: Lens' CreateHSMClientCertificateResponse (Maybe HSMClientCertificate)
- chccrsResponseStatus :: Lens' CreateHSMClientCertificateResponse Int
Creating a Request
createHSMClientCertificate Source #
Creates a value of CreateHSMClientCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
chccTags
- A list of tag instances.chccHSMClientCertificateIdentifier
- The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.
data CreateHSMClientCertificate Source #
See: createHSMClientCertificate
smart constructor.
Request Lenses
chccHSMClientCertificateIdentifier :: Lens' CreateHSMClientCertificate Text Source #
The identifier to be assigned to the new HSM client certificate that the cluster will use to connect to the HSM to use the database encryption keys.
Destructuring the Response
createHSMClientCertificateResponse Source #
Creates a value of CreateHSMClientCertificateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
chccrsHSMClientCertificate
- Undocumented member.chccrsResponseStatus
- -- | The response status code.
data CreateHSMClientCertificateResponse Source #
See: createHSMClientCertificateResponse
smart constructor.
Response Lenses
chccrsHSMClientCertificate :: Lens' CreateHSMClientCertificateResponse (Maybe HSMClientCertificate) Source #
Undocumented member.
chccrsResponseStatus :: Lens' CreateHSMClientCertificateResponse Int Source #
- - | The response status code.