Skip to main content

zsk

Creates, updates, deletes, gets or lists a zsk resource.

Overview

Namezsk
TypeResource
Idcloudflare.dns.zsk

Fields

The following fields are returned by SELECT queries:

List DNSSEC ZSKs response.

NameDatatypeDescription
DNSKEYobject
LocationstringStorage backend where the DNSSEC key material is stored. (database, vault) (example: database)
NamestringInternal key name for the ZSK. (example: zsk_default)
SigningKeyobject
TagstringLifecycle state tag attached to the DNSSEC key. (active, publish, external, retired, revoked, removed) (example: active)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idList the Zone Signing Keys (ZSKs) that DNSSEC uses for the 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.

NameDatatypeDescription
zone_idstringThe Cloudflare zone ID.

SELECT examples

List the Zone Signing Keys (ZSKs) that DNSSEC uses for the zone.

SELECT
DNSKEY,
Location,
Name,
SigningKey,
Tag
FROM cloudflare.dns.zsk
WHERE zone_id = '{{ zone_id }}' -- required
;