Identifier. Name of theKeyHandleresource, e.g.projects/{PROJECT_ID}/locations/{LOCATION}/keyHandles/{KEY_HANDLE_ID}.
kmsKey
string
Output only. Name of aCryptoKeythat has been provisioned for Customer Managed Encryption Key (CMEK) use in theKeyHandleproject and location for the requested resource type. TheCryptoKeyproject will reflect the value configured in theAutokeyConfigon the resource project's ancestor folder at the time of theKeyHandlecreation. If more than one ancestor folder has a configuredAutokeyConfig, the nearest of these configurations is used.
resourceTypeSelector
string
Required. Indicates the resource type that the resultingCryptoKeyis meant to protect, e.g.{SERVICE}.googleapis.com/{TYPE}. See documentation for supported resource types.
Creates a newKeyHandle, triggering the provisioning of a newCryptoKeyfor CMEK use with the given resource type in the configured key project and the same location.
[[["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-30 UTC."],[],[],null,["# REST Resource: projects.locations.keyHandles\n\n- [Resource: KeyHandle](#KeyHandle)\n - [JSON representation](#KeyHandle.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: KeyHandle\n-------------------\n\nResource-oriented representation of a request to Cloud KMS Autokey and the resulting provisioning of a [CryptoKey](/kms/docs/reference/rest/v1/projects.locations.keyRings.cryptoKeys#CryptoKey)."]]