Google Cloud DNS · Schema

DnsKey

A DNSSEC key pair.

DNSDomain NamesGoogle CloudName ResolutionNetworking

Properties

Name Type Description
id string Unique identifier for the resource; defined by the server (output only).
keyLength integer Length of the key in bits. Specified at creation time, and then immutable.
description string A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function.
digests array Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.
publicKey string Base64 encoded public half of this key. Output only.
algorithm string String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time.
type string One of "KEY_SIGNING" or "ZONE_SIGNING". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure
isActive boolean Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures.
kind string
creationTime string The time that this resource was created in the control plane. This is in RFC3339 text format. Output only.
keyTag integer The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In p
View JSON Schema on GitHub

JSON Schema

google-cloud-dns-dns-key-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-cloud-dns/json-schema/google-cloud-dns-dns-key-schema.json",
  "title": "DnsKey",
  "description": "A DNSSEC key pair.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-cloud-dns-dns-keys-api-openapi.yml#/components/schemas/DnsKey",
  "properties": {
    "id": {
      "description": "Unique identifier for the resource; defined by the server (output only).",
      "type": "string"
    },
    "keyLength": {
      "format": "uint32",
      "description": "Length of the key in bits. Specified at creation time, and then immutable.",
      "type": "integer"
    },
    "description": {
      "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the resource's function.",
      "type": "string"
    },
    "digests": {
      "description": "Cryptographic hashes of the DNSKEY resource record associated with this DnsKey. These digests are needed to construct a DS record that points at this DNS key. Output only.",
      "items": {
        "$ref": "#/$defs/DnsKeyDigest"
      },
      "type": "array"
    },
    "publicKey": {
      "type": "string",
      "description": "Base64 encoded public half of this key. Output only."
    },
    "algorithm": {
      "type": "string",
      "enum": [
        "rsasha1",
        "rsasha256",
        "rsasha512",
        "ecdsap256sha256",
        "ecdsap384sha384"
      ],
      "description": "String mnemonic specifying the DNSSEC algorithm of this key. Immutable after creation time."
    },
    "type": {
      "type": "string",
      "enum": [
        "keySigning",
        "zoneSigning"
      ],
      "description": "One of \"KEY_SIGNING\" or \"ZONE_SIGNING\". Keys of type KEY_SIGNING have the Secure Entry Point flag set and, when active, are used to sign only resource record sets of type DNSKEY. Otherwise, the Secure Entry Point flag is cleared, and this key is used to sign only resource record sets of other types. Immutable after creation time."
    },
    "isActive": {
      "type": "boolean",
      "description": "Active keys are used to sign subsequent changes to the ManagedZone. Inactive keys are still present as DNSKEY Resource Records for the use of resolvers validating existing signatures."
    },
    "kind": {
      "default": "dns#dnsKey",
      "type": "string",
      "readOnly": true
    },
    "creationTime": {
      "type": "string",
      "description": "The time that this resource was created in the control plane. This is in RFC3339 text format. Output only."
    },
    "keyTag": {
      "description": "The key tag is a non-cryptographic hash of the a DNSKEY resource record associated with this DnsKey. The key tag can be used to identify a DNSKEY more quickly (but it is not a unique identifier). In particular, the key tag is used in a parent zone's DS record to point at the DNSKEY in this child ManagedZone. The key tag is a number in the range [0, 65535] and the algorithm to calculate it is specified in RFC4034 Appendix B. Output only.",
      "format": "int32",
      "type": "integer"
    }
  },
  "type": "object",
  "$defs": {
    "DnsKeyDigest": {
      "type": "object",
      "properties": {
        "digest": {
          "description": "The base-16 encoded bytes of this digest. Suitable for use in a DS resource record.",
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "sha1",
            "sha256",
            "sha384"
          ],
          "description": "Specifies the algorithm used to calculate this digest."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-cloud-dns-dns-key"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.