certificate_authority_certificates
Creates, updates, deletes, gets or lists a certificate_authority_certificates resource.
Overview
| Name | certificate_authority_certificates |
| Type | Resource |
| Id | aws.acm_pca.certificate_authority_certificates |
Fields
The following fields are returned by SELECT queries:
- get_certificate_authority_certificate
| Name | Datatype | Description |
|---|---|---|
certificate | string | Base64-encoded certificate authority (CA) certificate. |
certificate_chain | string | Base64-encoded certificate chain that includes any intermediate certificates and chains up to root certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate. If this is a root CA, the value will be null. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_certificate_authority_certificate | select | region | Retrieves the certificate and certificate chain for your private certificate authority (CA) or one that has been shared with you. Both the certificate and the chain are base64 PEM-encoded. The chain does not include the CA certificate. Each certificate in the chain signs the one before it. |
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_certificate
Retrieves the certificate and certificate chain for your private certificate authority (CA) or one that has been shared with you. Both the certificate and the chain are base64 PEM-encoded. The chain does not include the CA certificate. Each certificate in the chain signs the one before it.
SELECT
certificate,
certificate_chain
FROM aws.acm_pca.certificate_authority_certificates
WHERE region = '{{ region }}' -- required
;