zones_access_certificates
Creates, updates, deletes, gets or lists a zones_access_certificates resource.
Overview
| Name | zones_access_certificates |
| Type | Resource |
| Id | cloudflare.zero_trust.zones_access_certificates |
Fields
The following fields are returned by SELECT queries:
- list
List mTLS certificates response
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the application that will use this certificate. |
name | string | The name of the certificate. (example: Allow devs) |
associated_hostnames | array | The hostnames of the applications that will use this certificate. |
created_at | string (date-time) | (example: 2014-01-01T05:20:00.12345Z) |
expires_on | string (date-time) | (example: 2014-01-01T05:20:00.12345Z) |
fingerprint | string | The MD5 fingerprint of the certificate. (example: MD5 Fingerprint=1E:80:0F:7A:FD:31:55:96:DE:D5:CB:E2:F0:91:F6:91) |
updated_at | string (date-time) | (example: 2014-01-01T05:20:00.12345Z) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | page, per_page | Lists all mTLS root certificates. |
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 |
|---|---|---|
zone_id | string | The Cloudflare zone ID. |
page | integer | |
per_page | integer |
SELECT examples
- list
Lists all mTLS root certificates.
SELECT
id,
name,
associated_hostnames,
created_at,
expires_on,
fingerprint,
updated_at
FROM cloudflare.zero_trust.zones_access_certificates
WHERE zone_id = '{{ zone_id }}' -- required
AND page = '{{ page }}'
AND per_page = '{{ per_page }}'
;