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 |
Network.AWS.Redshift.CreateHSMClientCertificate
Description
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
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 #
See: createHSMClientCertificate
smart constructor.
Instances
Request Lenses
chccTags :: Lens' CreateHSMClientCertificate [Tag] #
A list of tag instances.
chccHSMClientCertificateIdentifier :: Lens' CreateHSMClientCertificate Text #
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 #
Arguments
:: Int | |
-> CreateHSMClientCertificateResponse |
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 #
See: createHSMClientCertificateResponse
smart constructor.
Instances
Response Lenses
chccrsHSMClientCertificate :: Lens' CreateHSMClientCertificateResponse (Maybe HSMClientCertificate) #
Undocumented member.
chccrsResponseStatus :: Lens' CreateHSMClientCertificateResponse Int #
- - | The response status code.