DnsKeys: get

Fetch the representation of an existing DnsKey.

Request

HTTP request

GET https://dns.googleapis.com/dns/v1/projects/project/managedZones/managedZone/dnsKeys/dnsKeyId

Parameters

Parameter name Value Description
Path parameters
dnsKeyId string The identifier of the requested DnsKey.
managedZone string Identifies the managed zone addressed by this request. Can be the managed zone name or id.
project string Identifies the project addressed by this request.
Optional query parameters
clientOperationId string For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection.
digestType string An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.

Authorization

This request requires authorization with at least one of the following scopes:

Scope
https://www.googleapis.com/auth/ndev.clouddns.readonly
https://www.googleapis.com/auth/ndev.clouddns.readwrite
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a DnsKeys resource in the response body.

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud DNS Documentation