Identifies the managed zone addressed by this request. Can be the managed zone name or ID.
dnsKeyId
string
The identifier of the requested DnsKey.
Query parameters
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 is computed and displayed.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of DnsKey.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-19 UTC."],[[["\u003cp\u003eThis endpoint fetches the representation of an existing DnsKey using a GET request.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request URL requires three path parameters: \u003ccode\u003eproject\u003c/code\u003e, \u003ccode\u003emanagedZone\u003c/code\u003e, and \u003ccode\u003ednsKeyId\u003c/code\u003e to identify the specific DnsKey.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters include \u003ccode\u003eclientOperationId\u003c/code\u003e for mutating operations and \u003ccode\u003edigestType\u003c/code\u003e to specify digest types for key signing keys.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this operation must be empty, and a successful response returns a DnsKey instance.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires one of the specified OAuth scopes, such as \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: dnsKeys.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nFetches the representation of an existing DnsKey.\n\n### HTTP request\n\n`GET https://dns.googleapis.com/dns/v1/projects/{project}/managedZones/{managedZone}/dnsKeys/{dnsKeyId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [DnsKey](/dns/docs/reference/rest/v1/dnsKeys#DnsKey).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/cloud-platform.read-only`\n- `\n https://www.googleapis.com/auth/ndev.clouddns.readonly`\n- `\n https://www.googleapis.com/auth/ndev.clouddns.readwrite`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/external/authorization-gcp)."]]