custom_certificate
Creates, updates, deletes, gets or lists a custom_certificate resource.
Overview
| Name | custom_certificate |
| Type | Resource |
| Id | cloudflare.zero_trust.custom_certificate |
Fields
The following fields are returned by SELECT queries:
- list
Zero Trust account configuration response.
| Name | Datatype | Description |
|---|---|---|
id | string | Specify the UUID of the certificate (ID from MTLS certificate store). (example: d1b364c5-1311-466e-a194-f0e943e0799f) |
binding_status | string | Indicate the internal certificate status. (example: pending_deployment, x-stainless-terraform-configurability: computed) |
enabled | boolean | Specify whether to enable a custom certificate authority for signing Gateway traffic. |
updated_at | string (date-time) | (x-stainless-terraform-configurability: computed) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | Retrieve the current Zero Trust certificate configuration. |
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 |
|---|---|---|
account_id | string | The Cloudflare account ID. |
SELECT examples
- list
Retrieve the current Zero Trust certificate configuration.
SELECT
id,
binding_status,
enabled,
updated_at
FROM cloudflare.zero_trust.custom_certificate
WHERE account_id = '{{ account_id }}' -- required
;