zsk
Creates, updates, deletes, gets or lists a zsk resource.
Overview
| Name | zsk |
| Type | Resource |
| Id | cloudflare.dns.zsk |
Fields
The following fields are returned by SELECT queries:
- list
List DNSSEC ZSKs response.
| Name | Datatype | Description |
|---|---|---|
DNSKEY | object | |
Location | string | Storage backend where the DNSSEC key material is stored. (database, vault) (example: database) |
Name | string | Internal key name for the ZSK. (example: zsk_default) |
SigningKey | object | |
Tag | string | Lifecycle state tag attached to the DNSSEC key. (active, publish, external, retired, revoked, removed) (example: active) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | List 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.
| Name | Datatype | Description |
|---|---|---|
zone_id | string | The Cloudflare zone ID. |
SELECT examples
- list
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
;