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 for .NET, with the latest version being 3.16.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e class is used to construct a request to create a new \u003ccode\u003eCryptoKey\u003c/code\u003e within Google Cloud KMS, and implements \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\u003eKey properties of \u003ccode\u003eCreateCryptoKeyRequest\u003c/code\u003e 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 define the details of the new cryptographic key and its relationship to other KMS resources.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists multiple versions of the API, ranging from the latest (3.16.0) down to 2.2.0, allowing users to access the relevant API version documentation depending on their project's needs.\u003c/p\u003e\n"],["\u003cp\u003eYou can inherit from \u003ccode\u003eobject\u003c/code\u003e to get methods such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]