Class CreateCryptoKeyRequest (3.16.0)

CreateCryptoKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for KeyManagementService.CreateCryptoKey.

Attributes

Name Description
parent str
Required. The name of the KeyRing associated with the CryptoKeys.
crypto_key_id str
Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}
crypto_key google.cloud.kms_v1.types.CryptoKey
Required. A CryptoKey with initial field values.
skip_initial_version_creation bool
If set to true, the request will create a CryptoKey without any CryptoKeyVersions. You must manually call CreateCryptoKeyVersion or ImportCryptoKeyVersion before you can use this CryptoKey.
trusted_wrapping_enabled bool
Optional. Whether trusted wrapping will be enabled on the first CryptoKeyVersions created for this CryptoKey. This field is only supported for keys with CryptoKeyVersionTemplate.protection_level HSM_SINGLE_TENANT. This field is supported for all CryptoKeyPurposes except ENCRYPT_DECRYPT.