List certificate authorities
radar.ct.authorities.list(AuthorityListParams**kwargs) -> AuthorityListResponse
GET/radar/ct/authorities
Retrieves a list of certificate authorities.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYAPI Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194Accepted Permissions (at least one required)
User Details WriteUser Details ReadParametersExpand Collapse
ReturnsExpand Collapse
class AuthorityListResponse: …
class AuthorityListResponse: …
certificate_authorities: List[CertificateAuthority]
certificate_authorities: List[CertificateAuthority]
certificate_record_type: Literal["ROOT_CERTIFICATE", "INTERMEDIATE_CERTIFICATE"]Specifies the type of certificate in the trust chain.
certificate_record_type: Literal["ROOT_CERTIFICATE", "INTERMEDIATE_CERTIFICATE"]
Specifies the type of certificate in the trust chain.
parent_name: str
The name of the parent/root certificate authority that issued this intermediate certificate.
List certificate authorities
import os
from cloudflare import Cloudflare
client = Cloudflare(
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
)
authorities = client.radar.ct.authorities.list()
print(authorities.certificate_authorities){
"result": {
"certificateAuthorities": [
{
"certificateRecordType": "ROOT_CERTIFICATE",
"country": "PT",
"countryName": "Portugal",
"name": "MULTICERT Advanced Certification Authority 005",
"owner": "MULTICERT",
"parentName": "MULTICERT Root Certification Authority 01",
"parentSha256Fingerprint": "24EDD4E503A8D3FDB5FFB4AF66C887359901CBE687A5A0760D10A08EED99A7C3",
"revocationStatus": "NOT_REVOKED",
"sha256Fingerprint": "24EDD4E503A8D3FDB5FFB4AF66C887359901CBE687A5A0760D10A08EED99A7C3"
}
]
},
"success": true
}Returns Examples
{
"result": {
"certificateAuthorities": [
{
"certificateRecordType": "ROOT_CERTIFICATE",
"country": "PT",
"countryName": "Portugal",
"name": "MULTICERT Advanced Certification Authority 005",
"owner": "MULTICERT",
"parentName": "MULTICERT Root Certification Authority 01",
"parentSha256Fingerprint": "24EDD4E503A8D3FDB5FFB4AF66C887359901CBE687A5A0760D10A08EED99A7C3",
"revocationStatus": "NOT_REVOKED",
"sha256Fingerprint": "24EDD4E503A8D3FDB5FFB4AF66C887359901CBE687A5A0760D10A08EED99A7C3"
}
]
},
"success": true
}