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 document provides reference documentation for the \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class within the Google Cloud Key Management Service v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class is used to define requests for creating a new CryptoKey, as shown in the API, it is located in the \u003ccode\u003eGoogle.Cloud.Kms.V1\u003c/code\u003e namespace, and it's part of the \u003ccode\u003eGoogle.Cloud.Kms.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe document details the available versions of \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e, ranging from version 2.2.0 up to the latest 3.16.0, with each version being a link to its specific documentation.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class include \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 essential for defining the characteristics of the new CryptoKey.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and contains constructors to initiate the class, either empty or by cloning an existing \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]