certificates_settings
Creates, updates, deletes, gets or lists a certificates_settings resource.
Overview
| Name | certificates_settings |
| Type | Resource |
| Id | cloudflare.zero_trust.certificates_settings |
Fields
The following fields are returned by SELECT queries:
- list
List mTLS hostname settings response
| Name | Datatype | Description |
|---|---|---|
china_network | boolean | Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled. |
client_certificate_forwarding | boolean | Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin. |
hostname | string | The hostname that these settings apply to. (example: admin.example.com) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | List all mTLS hostname settings for this account or zone. |
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
List all mTLS hostname settings for this account or zone.
SELECT
china_network,
client_certificate_forwarding,
hostname
FROM cloudflare.zero_trust.certificates_settings
WHERE account_id = '{{ account_id }}' -- required
;