Google Cloud DNS Dns Keys API

The DnsKeys API from Google Cloud DNS — 2 operation(s) for dnskeys.

GitHub OpenAPI

Operations 2

GET /dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys List dnsKeys #
GET /dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId} Get dnsKeys #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/google-cloud-dns:google-cloud-dns-dnskeys-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

google-cloud-dns-dnskeys-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloud DNS Dns Keys API
  version: v1
  description: Generated from Google's published Discovery document for Cloud DNS API (dns v1, revision 20261106). 2 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://dns.googleapis.com
tags:
- name: DnsKeys
paths:
  /dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys:
    get:
      operationId: dns.dnsKeys.list
      summary: List dnsKeys
      description: Enumerates DnsKeys to a ResourceRecordSet collection.
      parameters:
      - name: project
        in: path
        required: true
        description: Identifies the project addressed by this request.
        schema:
          type: string
      - name: managedZone
        in: path
        required: true
        description: Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
        schema:
          type: string
      - name: digestType
        in: query
        required: false
        description: An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed.
        schema:
          type: string
      - name: maxResults
        in: query
        required: false
        description: Optional. Maximum number of results to be returned. If unspecified, the server decides how many results to return.
        schema:
          format: int32
          type: integer
      - name: pageToken
        in: query
        required: false
        description: Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DnsKeysListResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/cloud-platform.read-only
        - https://www.googleapis.com/auth/ndev.clouddns.readonly
        - https://www.googleapis.com/auth/ndev.clouddns.readwrite
      - apiKey: []
      tags:
      - DnsKeys
  /dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}:
    get:
      operationId: dns.dnsKeys.get
      summary: Get dnsKeys
      description: Fetches the representation of an existing DnsKey.
      parameters:
      - name: project
        in: path
        required: true
        description: Identifies the project addressed by this request.
        schema:
          type: string
      - name: managedZone
        in: path
        required: true
        description: Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
        schema:
          type: string
      - name: dnsKeyId
        in: path
        required: true
        description: The identifier of the requested DnsKey.
        schema:
          type: string
      - name: clientOperationId
        in: query
        required: false
        description: For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
        schema:
          type: string
      - name: digestType
        in: query
        required: false
        description: An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type is computed and displayed.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DnsKey'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
        - https://www.googleapis.com/auth/cloud-platform.read-only
        - https://www.googleapis.com/auth/ndev.clouddns.readonly
        - https://www.googleapis.com/auth/ndev.clouddns.readwrite
      - apiKey: []
      tags:
      - DnsKeys
components:
  schemas:
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    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: '#/components/schemas/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
      description: A DNSSEC key pair.
    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.
    DnsKeysListResponse:
      properties:
        nextPageToken:
          type: string
          description: This field indicates that more results are available beyond the last page displayed. To fetch the results, make another list request and use this value as your page token. This lets you retrieve the complete contents of a very large collection one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned are an inconsistent view of the collection. You can't retrieve a consistent snapshot of a collection larger than the maximum page size.
        kind:
          type: string
          readOnly: true
          description: Output only. Type of resource.
          default: dns#dnsKeysListResponse
        dnsKeys:
          description: The requested resources.
          type: array
          items:
            $ref: '#/components/schemas/DnsKey'
      type: object
      description: The response to a request to enumerate DnsKeys in a ManagedZone.
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/ndev.clouddns.readonly: View your DNS records hosted by Google Cloud DNS
            https://www.googleapis.com/auth/ndev.clouddns.readwrite: View and manage your DNS records hosted by Google Cloud DNS
            https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
            https://www.googleapis.com/auth/cloud-platform.read-only: View your data across Google Cloud services and see the email address of your Google Account
externalDocs:
  url: https://cloud.google.com/dns/docs
x-provenance:
  method: harvested
  publisher: Google
  source: https://dns.googleapis.com/$discovery/rest?version=v1
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)