Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves the certificate signing request (CSR) for your private certificate authority (CA). The CSR is created when you call the CreateCertificateAuthority
function. Take the CSR to your on-premises X.509 infrastructure and sign it by using your root or a subordinate CA. Then import the signed certificate back into ACM PCA by calling the ImportCertificateAuthorityCertificate
function. The CSR is returned as a base64 PEM-encoded string.
Synopsis
- getCertificateAuthorityCSR :: Text -> GetCertificateAuthorityCSR
- data GetCertificateAuthorityCSR
- gcacsrCertificateAuthorityARN :: Lens' GetCertificateAuthorityCSR Text
- getCertificateAuthorityCSRResponse :: Int -> GetCertificateAuthorityCSRResponse
- data GetCertificateAuthorityCSRResponse
- gcacsrrsCSR :: Lens' GetCertificateAuthorityCSRResponse (Maybe Text)
- gcacsrrsResponseStatus :: Lens' GetCertificateAuthorityCSRResponse Int
Creating a Request
getCertificateAuthorityCSR Source #
Creates a value of GetCertificateAuthorityCSR
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcacsrCertificateAuthorityARN
- The Amazon Resource Name (ARN) that was returned when you called theCreateCertificateAuthority
function. This must be of the form:arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
data GetCertificateAuthorityCSR Source #
See: getCertificateAuthorityCSR
smart constructor.
Instances
Request Lenses
gcacsrCertificateAuthorityARN :: Lens' GetCertificateAuthorityCSR Text Source #
The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority
function. This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
Destructuring the Response
getCertificateAuthorityCSRResponse Source #
Creates a value of GetCertificateAuthorityCSRResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcacsrrsCSR
- The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.gcacsrrsResponseStatus
- -- | The response status code.
data GetCertificateAuthorityCSRResponse Source #
See: getCertificateAuthorityCSRResponse
smart constructor.
Instances
Response Lenses
gcacsrrsCSR :: Lens' GetCertificateAuthorityCSRResponse (Maybe Text) Source #
The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.
gcacsrrsResponseStatus :: Lens' GetCertificateAuthorityCSRResponse Int Source #
- - | The response status code.