public virtual Task<Operation> CreateKeyHandle(CreateKeyHandleRequest request, ServerCallContext context)
Creates a new [KeyHandle][google.cloud.kms.v1.KeyHandle], triggering the
provisioning of a new [CryptoKey][google.cloud.kms.v1.CryptoKey] for CMEK
use with the given resource type in the configured key project and the same
location. [GetOperation][google.longrunning.Operations.GetOperation] should
be used to resolve the resulting long-running operation and get the
resulting [KeyHandle][google.cloud.kms.v1.KeyHandle] and
[CryptoKey][google.cloud.kms.v1.CryptoKey].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Key Management Service v1 API class Autokey.AutokeyBase is 3.16.0, and the page also provides access to previous versions dating back to version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eAutokey.AutokeyBase serves as the base class for server-side implementations of Autokey within the Google Cloud Key Management Service v1 API.\u003c/p\u003e\n"],["\u003cp\u003eAutokey.AutokeyBase includes methods such as \u003ccode\u003eCreateKeyHandle\u003c/code\u003e, \u003ccode\u003eGetKeyHandle\u003c/code\u003e, and \u003ccode\u003eListKeyHandles\u003c/code\u003e, which allow for the creation, retrieval, and listing of KeyHandles, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits several members from the base object class, such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Key Management Service v1 API - Class Autokey.AutokeyBase (3.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.18.0 (latest)](/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.17.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.16.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.15.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.14.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.13.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.12.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.11.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.10.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.9.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.8.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.7.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.6.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.5.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.4.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.3.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.2.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.1.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.0.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.9.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.8.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.7.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.6.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.5.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.4.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.3.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.2.0/Google.Cloud.Kms.V1.Autokey.AutokeyBase) \n\n [BindServiceMethod(typeof(Autokey), \"BindService\")]\n public abstract class Autokey.AutokeyBase\n\nReference documentation and code samples for the Google Cloud Key Management Service v1 API class Autokey.AutokeyBase.\n\nBase class for server-side implementations of Autokey \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Autokey.AutokeyBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Kms.V1](/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Kms.V1.dll\n\nMethods\n-------\n\n### CreateKeyHandle(CreateKeyHandleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e CreateKeyHandle(CreateKeyHandleRequest request, ServerCallContext context)\n\nCreates a new \\[KeyHandle\\]\\[google.cloud.kms.v1.KeyHandle\\], triggering the\nprovisioning of a new \\[CryptoKey\\]\\[google.cloud.kms.v1.CryptoKey\\] for CMEK\nuse with the given resource type in the configured key project and the same\nlocation. \\[GetOperation\\]\\[google.longrunning.Operations.GetOperation\\] should\nbe used to resolve the resulting long-running operation and get the\nresulting \\[KeyHandle\\]\\[google.cloud.kms.v1.KeyHandle\\] and\n\\[CryptoKey\\]\\[google.cloud.kms.v1.CryptoKey\\].\n\n### GetKeyHandle(GetKeyHandleRequest, ServerCallContext)\n\n public virtual Task\u003cKeyHandle\u003e GetKeyHandle(GetKeyHandleRequest request, ServerCallContext context)\n\nReturns the \\[KeyHandle\\]\\[google.cloud.kms.v1.KeyHandle\\].\n\n### ListKeyHandles(ListKeyHandlesRequest, ServerCallContext)\n\n public virtual Task\u003cListKeyHandlesResponse\u003e ListKeyHandles(ListKeyHandlesRequest request, ServerCallContext context)\n\nLists \\[KeyHandles\\]\\[google.cloud.kms.v1.KeyHandle\\]."]]