libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Description

Retrieves the certificate signing request (CSR) for your private certificate authority (CA). The CSR is created when you call the CreateCertificateAuthority action. Sign the CSR with your ACM Private CA-hosted or on-premises root or subordinate CA. Then import the signed certificate back into ACM Private CA by calling the ImportCertificateAuthorityCertificate action. The CSR is returned as a base64 PEM-encoded string.

Synopsis

Creating a Request

data GetCertificateAuthorityCsr Source #

See: newGetCertificateAuthorityCsr smart constructor.

Constructors

GetCertificateAuthorityCsr' 

Fields

Instances

Instances details
Eq GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Read GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Show GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Generic GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Associated Types

type Rep GetCertificateAuthorityCsr :: Type -> Type #

NFData GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Hashable GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

ToJSON GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

AWSRequest GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

ToHeaders GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

ToPath GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

ToQuery GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

type Rep GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

type Rep GetCertificateAuthorityCsr = D1 ('MetaData "GetCertificateAuthorityCsr" "Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "GetCertificateAuthorityCsr'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateAuthorityArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetCertificateAuthorityCsr Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

newGetCertificateAuthorityCsr Source #

Create a value of GetCertificateAuthorityCsr with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:certificateAuthorityArn:GetCertificateAuthorityCsr', getCertificateAuthorityCsr_certificateAuthorityArn - The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

Request Lenses

getCertificateAuthorityCsr_certificateAuthorityArn :: Lens' GetCertificateAuthorityCsr Text Source #

The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:

arn:aws:acm-pca:region:account:certificate-authority/12345678-1234-1234-1234-123456789012

Destructuring the Response

data GetCertificateAuthorityCsrResponse Source #

Constructors

GetCertificateAuthorityCsrResponse' 

Fields

  • csr :: Maybe Text

    The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetCertificateAuthorityCsrResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Read GetCertificateAuthorityCsrResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Show GetCertificateAuthorityCsrResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Generic GetCertificateAuthorityCsrResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

Associated Types

type Rep GetCertificateAuthorityCsrResponse :: Type -> Type #

NFData GetCertificateAuthorityCsrResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

type Rep GetCertificateAuthorityCsrResponse Source # 
Instance details

Defined in Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr

type Rep GetCertificateAuthorityCsrResponse = D1 ('MetaData "GetCertificateAuthorityCsrResponse" "Amazonka.CertificateManagerPCA.GetCertificateAuthorityCsr" "libZSservicesZSamazonka-certificatemanager-pcaZSamazonka-certificatemanager-pca" 'False) (C1 ('MetaCons "GetCertificateAuthorityCsrResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "csr") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetCertificateAuthorityCsrResponse Source #

Create a value of GetCertificateAuthorityCsrResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:csr:GetCertificateAuthorityCsrResponse', getCertificateAuthorityCsrResponse_csr - The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.

$sel:httpStatus:GetCertificateAuthorityCsrResponse', getCertificateAuthorityCsrResponse_httpStatus - The response's http status code.

Response Lenses

getCertificateAuthorityCsrResponse_csr :: Lens' GetCertificateAuthorityCsrResponse (Maybe Text) Source #

The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.