List DNSSEC ZSKs
GET/zones/{zone_id}/dnssec/zsk
List the Zone Signing Keys (ZSKs) that DNSSEC uses for the zone.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
Accepted Permissions (at least one required)
List DNSSEC ZSKs
curl https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dnssec/zsk \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": [
{
"DNSKEY": {
"Algorithm": 13,
"Flags": 256,
"Hdr": {
"Class": 1,
"Name": "example.com.",
"Rdlength": 0,
"Rrtype": 48,
"Ttl": 3600
},
"Protocol": 3,
"PublicKey": "oXiGYrSTO+LSCJ3mohc8EP+CzF9KxBj8/ydXJ22pKuZP3VAC3/Md/k7xZfz470CoRyZJ6gV6vml07IC3d8xqhA=="
},
"Location": "database",
"Name": "zsk_default",
"SigningKey": {
"kek": "edge_kek_default",
"privkey": "U3ZlbidzIHZlcnkgc2VjcmV0IGtleQ==",
"pubkey": "256 3 13 oXiGYrSTO+LSCJ3mohc8EP+CzF9KxBj8/ydXJ22pKuZP3VAC3/Md/k7xZfz470CoRyZJ6gV6vml07IC3d8xqhA=="
},
"Tag": "active"
}
]
}Returns Examples
{
"errors": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"messages": [
{
"code": 1000,
"message": "message",
"documentation_url": "documentation_url",
"source": {
"pointer": "pointer"
}
}
],
"success": true,
"result": [
{
"DNSKEY": {
"Algorithm": 13,
"Flags": 256,
"Hdr": {
"Class": 1,
"Name": "example.com.",
"Rdlength": 0,
"Rrtype": 48,
"Ttl": 3600
},
"Protocol": 3,
"PublicKey": "oXiGYrSTO+LSCJ3mohc8EP+CzF9KxBj8/ydXJ22pKuZP3VAC3/Md/k7xZfz470CoRyZJ6gV6vml07IC3d8xqhA=="
},
"Location": "database",
"Name": "zsk_default",
"SigningKey": {
"kek": "edge_kek_default",
"privkey": "U3ZlbidzIHZlcnkgc2VjcmV0IGtleQ==",
"pubkey": "256 3 13 oXiGYrSTO+LSCJ3mohc8EP+CzF9KxBj8/ydXJ22pKuZP3VAC3/Md/k7xZfz470CoRyZJ6gV6vml07IC3d8xqhA=="
},
"Tag": "active"
}
]
}