authorities
Creates, updates, deletes, gets or lists an authorities resource.
Overview
| Name | authorities |
| Type | Resource |
| Id | cloudflare.radar.authorities |
Fields
The following fields are returned by SELECT queries:
- get
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
certificateAuthority | object |
Successful response.
| Name | Datatype | Description |
|---|---|---|
name | string | The full name of the certificate authority (CA). |
certificateRecordType | string | Specifies the type of certificate in the trust chain. (ROOT_CERTIFICATE, INTERMEDIATE_CERTIFICATE) |
country | string | The two-letter ISO country code where the CA organization is based. |
countryName | string | The full country name corresponding to the country code. |
owner | string | The organization that owns and operates the CA. |
parentName | string | The name of the parent/root certificate authority that issued this intermediate certificate. |
parentSha256Fingerprint | string | The SHA-256 fingerprint of the parent certificate. |
revocationStatus | string | The current revocation status of a Certificate Authority (CA) certificate. (NOT_REVOKED, REVOKED, PARENT_CERT_REVOKED) |
sha256Fingerprint | string | The SHA-256 fingerprint of the intermediate certificate. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | ca_slug | format | Retrieves the requested CA information. |
list | select | limit, offset, format | Retrieves a list of certificate authorities. |
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 |
|---|---|---|
ca_slug | string | Certificate authority SHA256 fingerprint. |
format | string | Format in which results will be returned. |
limit | integer | Limits the number of objects returned in the response. |
offset | integer | Skips the specified number of objects before fetching the results. |
SELECT examples
- get
- list
Retrieves the requested CA information.
SELECT
certificateAuthority
FROM cloudflare.radar.authorities
WHERE ca_slug = '{{ ca_slug }}' -- required
AND format = '{{ format }}'
;
Retrieves a list of certificate authorities.
SELECT
name,
certificateRecordType,
country,
countryName,
owner,
parentName,
parentSha256Fingerprint,
revocationStatus,
sha256Fingerprint
FROM cloudflare.radar.authorities
WHERE limit = '{{ limit }}'
AND offset = '{{ offset }}'
AND format = '{{ format }}'
;