Google Cloud Key Management Service v1 API - Class CreateCryptoKeyRequest (3.15.0)

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].

Inheritance

object > CreateCryptoKeyRequest

Namespace

Google.Cloud.Kms.V1

Assembly

Google.Cloud.Kms.V1.dll

Constructors

CreateCryptoKeyRequest()

public CreateCryptoKeyRequest()

CreateCryptoKeyRequest(CreateCryptoKeyRequest)

public CreateCryptoKeyRequest(CreateCryptoKeyRequest other)
Parameter
Name Description
other CreateCryptoKeyRequest

Properties

CryptoKey

public CryptoKey CryptoKey { get; set; }

Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.

Property Value
Type Description
CryptoKey

CryptoKeyId

public string CryptoKeyId { get; set; }

Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

Property Value
Type Description
string

Parent

public string Parent { get; set; }

Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].

Property Value
Type Description
string

ParentAsKeyRingName

public KeyRingName ParentAsKeyRingName { get; set; }

KeyRingName-typed view over the Parent resource name property.

Property Value
Type Description
KeyRingName

SkipInitialVersionCreation

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].

Property Value
Type Description
bool