public sealed class CreateCryptoKeyRequest : IMessage<CreateCryptoKeyRequest>, IEquatable<CreateCryptoKeyRequest>, IDeepCloneable<CreateCryptoKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Key Management Service v1 API class CreateCryptoKeyRequest.
Request message for
[KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey].
public bool SkipInitialVersionCreation { get; set; }
If set to true, the request will create a
[CryptoKey][google.cloud.kms.v1.CryptoKey] without any
[CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must
manually call
[CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion]
or
[ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion]
before you can use this [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\u003eThis page provides reference documentation for the \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class within the Google Cloud Key Management Service (KMS) v1 API, specifically for version 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class is used to create a request message for the \u003ccode\u003eKeyManagementService.CreateCryptoKey\u003c/code\u003e operation, and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class contains properties such as \u003ccode\u003eCryptoKey\u003c/code\u003e, \u003ccode\u003eCryptoKeyId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsKeyRingName\u003c/code\u003e, and \u003ccode\u003eSkipInitialVersionCreation\u003c/code\u003e, which are used to define the details of the new crypto key being created.\u003c/p\u003e\n"],["\u003cp\u003eThe page also lists all available versions, ranging from 3.16.0 (latest) down to version 2.2.0, each with a corresponding link to the reference documentation for that version's \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e Class inherits from object and has two constructors one with and without a parameter, and lists the inherited members and the namespace and assembly it belongs too.\u003c/p\u003e\n"]]],[],null,[]]