Skip to main content

certificate_authority_csrs

Creates, updates, deletes, gets or lists a certificate_authority_csrs resource.

Overview

Namecertificate_authority_csrs
TypeResource
Idaws.acm_pca.certificate_authority_csrs

Fields

The following fields are returned by SELECT queries:

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

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_certificate_authority_csrselectregionRetrieves 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 Amazon Web Services Private CA-hosted or on-premises root or subordinate CA. Then import the signed certificate back into Amazon Web Services Private CA by calling the ImportCertificateAuthorityCertificate action. The CSR is returned as a base64 PEM-encoded string.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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 Amazon Web Services Private CA-hosted or on-premises root or subordinate CA. Then import the signed certificate back into Amazon Web Services Private CA by calling the ImportCertificateAuthorityCertificate action. The CSR is returned as a base64 PEM-encoded string.

SELECT
csr
FROM aws.acm_pca.certificate_authority_csrs
WHERE region = '{{ region }}' -- required
;