certificate_authority_csrs
Creates, updates, deletes, gets or lists a certificate_authority_csrs resource.
Overview
| Name | certificate_authority_csrs |
| Type | Resource |
| Id | aws.acm_pca.certificate_authority_csrs |
Fields
The following fields are returned by SELECT queries:
- get_certificate_authority_csr
| Name | Datatype | Description |
|---|---|---|
csr | string | The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_certificate_authority_csr | select | region | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_certificate_authority_csr
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
;