[[["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 \u003ccode\u003eAutokeySettings\u003c/code\u003e for the Google Cloud Key Management Service v1 API is 3.16.0, with numerous previous versions available for reference, ranging down to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutokeySettings\u003c/code\u003e is a class that extends \u003ccode\u003eServiceSettingsBase\u003c/code\u003e, used to configure settings for \u003ccode\u003eAutokeyClient\u003c/code\u003e instances in the Google Cloud KMS v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes various settings for operations like creating, getting, and listing key handles, as well as settings for IAMPolicyClient and LocationsClient.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutokeySettings\u003c/code\u003e provides customizable retry and timeout settings for different API calls, and offers a method to clone its current settings as well as obtain the default configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe AutokeySettings class contains settings for both synchronous and asynchronous calls to \u003ccode\u003eAutokeyClient\u003c/code\u003e's \u003ccode\u003eCreateKeyHandle\u003c/code\u003e, \u003ccode\u003eGetKeyHandle\u003c/code\u003e and \u003ccode\u003eListKeyHandles\u003c/code\u003e, as well as settings for Long Running Operations using \u003ccode\u003eCreateKeyHandleOperationsSettings\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Key Management Service v1 API - Class AutokeySettings (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.AutokeySettings)\n- [3.17.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.17.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.16.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.16.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.15.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.15.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.14.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.13.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.12.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.11.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.10.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.9.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.8.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.7.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.6.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.5.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.4.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.3.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.2.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.1.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/3.0.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.9.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.8.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.7.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.6.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.5.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.4.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.3.0/Google.Cloud.Kms.V1.AutokeySettings)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Kms.V1/2.2.0/Google.Cloud.Kms.V1.AutokeySettings) \n\n public sealed class AutokeySettings : ServiceSettingsBase\n\nReference documentation and code samples for the Google Cloud Key Management Service v1 API class AutokeySettings.\n\nSettings for [AutokeyClient](/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AutokeyClient) instances. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ServiceSettingsBase](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html) \\\u003e AutokeySettings \n\nInherited Members\n-----------------\n\n[ServiceSettingsBase.VersionHeaderBuilder](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_VersionHeaderBuilder) \n[ServiceSettingsBase.CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_CallSettings) \n[ServiceSettingsBase.Clock](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Clock) \n[ServiceSettingsBase.Scheduler](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Scheduler) \n[ServiceSettingsBase.Interceptor](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Interceptor) \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.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\nConstructors\n------------\n\n### AutokeySettings()\n\n public AutokeySettings()\n\nConstructs a new [AutokeySettings](/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AutokeySettings) object with default settings.\n\nProperties\n----------\n\n### CreateKeyHandleOperationsSettings\n\n public OperationsSettings CreateKeyHandleOperationsSettings { get; set; }\n\nLong Running Operation settings for calls to `AutokeyClient.CreateKeyHandle` and\n`AutokeyClient.CreateKeyHandleAsync`.\n\n**Remarks** \nUses default [PollSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.html) of:\n\n- Initial delay: 20 seconds.\n- Delay multiplier: 1.5\n- Maximum delay: 45 seconds.\n- Total timeout: 24 hours.\n\n\u003cbr /\u003e\n\n### CreateKeyHandleSettings\n\n public CallSettings CreateKeyHandleSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`AutokeyClient.CreateKeyHandle` and `AutokeyClient.CreateKeyHandleAsync`.\n\n**Remarks** \n- This call will not be retried.\n- Timeout: 60 seconds.\n\n### GetKeyHandleSettings\n\n public CallSettings GetKeyHandleSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to `AutokeyClient.GetKeyHandle`\nand `AutokeyClient.GetKeyHandleAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: 5\n- Retriable status codes: [Unavailable](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_Unavailable), [DeadlineExceeded](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_DeadlineExceeded).\n- Timeout: 60 seconds.\n\n### IAMPolicySettings\n\n public IAMPolicySettings IAMPolicySettings { get; set; }\n\nThe settings to use for the [IAMPolicyClient](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Iam.V1/latest/Google.Cloud.Iam.V1.IAMPolicyClient.html) associated with the client.\n\n### ListKeyHandlesSettings\n\n public CallSettings ListKeyHandlesSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`AutokeyClient.ListKeyHandles` and `AutokeyClient.ListKeyHandlesAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: 5\n- Retriable status codes: [Unavailable](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_Unavailable), [DeadlineExceeded](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_DeadlineExceeded).\n- Timeout: 60 seconds.\n\n### LocationsSettings\n\n public LocationsSettings LocationsSettings { get; set; }\n\nThe settings to use for the [LocationsClient](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with the client.\n\nMethods\n-------\n\n### Clone()\n\n public AutokeySettings Clone()\n\nCreates a deep clone of this object, with all the same property values.\n\n### GetDefault()\n\n public static AutokeySettings GetDefault()\n\nGet a new instance of the default [AutokeySettings](/dotnet/docs/reference/Google.Cloud.Kms.V1/latest/Google.Cloud.Kms.V1.AutokeySettings)."]]