Skip to main content

custom_certificate

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

Overview

Namecustom_certificate
TypeResource
Idcloudflare.zero_trust.custom_certificate

Fields

The following fields are returned by SELECT queries:

Zero Trust account configuration response.

NameDatatypeDescription
idstringSpecify the UUID of the certificate (ID from MTLS certificate store). (example: d1b364c5-1311-466e-a194-f0e943e0799f)
binding_statusstringIndicate the internal certificate status. (example: pending_deployment, x-stainless-terraform-configurability: computed)
enabledbooleanSpecify whether to enable a custom certificate authority for signing Gateway traffic.
updated_atstring (date-time) (x-stainless-terraform-configurability: computed)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idRetrieve 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.

SELECT examples

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
;