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 documentation for the \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class within the Google Cloud Key Management Service (KMS) v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class is a request message used to create a new \u003ccode\u003eCryptoKey\u003c/code\u003e in the Google Cloud KMS, and it implements multiple interfaces such as \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 requires parameters such as \u003ccode\u003eCryptoKey\u003c/code\u003e, \u003ccode\u003eCryptoKeyId\u003c/code\u003e, and \u003ccode\u003eParent\u003c/code\u003e, which specify the initial field values, the unique identifier, and the associated \u003ccode\u003eKeyRing\u003c/code\u003e for the new \u003ccode\u003eCryptoKey\u003c/code\u003e, respectively.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003eSkipInitialVersionCreation\u003c/code\u003e property is available, which allows the creation of a \u003ccode\u003eCryptoKey\u003c/code\u003e without any initial \u003ccode\u003eCryptoKeyVersions\u003c/code\u003e, requiring manual creation of versions later.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation spans various versions of the API, ranging from version 2.2.0 up to the latest 3.16.0, and you can select the version you wish to view the documentation of.\u003c/p\u003e\n"]]],[],null,[]]