Index
Autokey
(interface)AutokeyAdmin
(interface)EkmService
(interface)KeyManagementService
(interface)AccessReason
(enum)AsymmetricDecryptRequest
(message)AsymmetricDecryptResponse
(message)AsymmetricSignRequest
(message)AsymmetricSignResponse
(message)AutokeyConfig
(message)AutokeyConfig.State
(enum)Certificate
(message)CreateCryptoKeyRequest
(message)CreateCryptoKeyVersionRequest
(message)CreateEkmConnectionRequest
(message)CreateImportJobRequest
(message)CreateKeyHandleMetadata
(message)CreateKeyHandleRequest
(message)CreateKeyRingRequest
(message)CryptoKey
(message)CryptoKey.CryptoKeyPurpose
(enum)CryptoKeyVersion
(message)CryptoKeyVersion.CryptoKeyVersionAlgorithm
(enum)CryptoKeyVersion.CryptoKeyVersionState
(enum)CryptoKeyVersion.CryptoKeyVersionView
(enum)CryptoKeyVersionTemplate
(message)DecryptRequest
(message)DecryptResponse
(message)DestroyCryptoKeyVersionRequest
(message)Digest
(message)EkmConfig
(message)EkmConnection
(message)EkmConnection.KeyManagementMode
(enum)EkmConnection.ServiceResolver
(message)EncryptRequest
(message)EncryptResponse
(message)ExternalProtectionLevelOptions
(message)GenerateRandomBytesRequest
(message)GenerateRandomBytesResponse
(message)GetAutokeyConfigRequest
(message)GetCryptoKeyRequest
(message)GetCryptoKeyVersionRequest
(message)GetEkmConfigRequest
(message)GetEkmConnectionRequest
(message)GetImportJobRequest
(message)GetKeyHandleRequest
(message)GetKeyRingRequest
(message)GetPublicKeyRequest
(message)ImportCryptoKeyVersionRequest
(message)ImportJob
(message)ImportJob.ImportJobState
(enum)ImportJob.ImportMethod
(enum)ImportJob.WrappingPublicKey
(message)KeyAccessJustificationsPolicy
(message)KeyHandle
(message)KeyOperationAttestation
(message)KeyOperationAttestation.AttestationFormat
(enum)KeyOperationAttestation.CertificateChains
(message)KeyRing
(message)ListCryptoKeyVersionsRequest
(message)ListCryptoKeyVersionsResponse
(message)ListCryptoKeysRequest
(message)ListCryptoKeysResponse
(message)ListEkmConnectionsRequest
(message)ListEkmConnectionsResponse
(message)ListImportJobsRequest
(message)ListImportJobsResponse
(message)ListKeyHandlesRequest
(message)ListKeyHandlesResponse
(message)ListKeyRingsRequest
(message)ListKeyRingsResponse
(message)LocationMetadata
(message)MacSignRequest
(message)MacSignResponse
(message)MacVerifyRequest
(message)MacVerifyResponse
(message)ProtectionLevel
(enum)PublicKey
(message)RawDecryptRequest
(message)RawDecryptResponse
(message)RawEncryptRequest
(message)RawEncryptResponse
(message)RestoreCryptoKeyVersionRequest
(message)ShowEffectiveAutokeyConfigRequest
(message)ShowEffectiveAutokeyConfigResponse
(message)UpdateAutokeyConfigRequest
(message)UpdateCryptoKeyPrimaryVersionRequest
(message)UpdateCryptoKeyRequest
(message)UpdateCryptoKeyVersionRequest
(message)UpdateEkmConfigRequest
(message)UpdateEkmConnectionRequest
(message)VerifyConnectivityRequest
(message)VerifyConnectivityResponse
(message)
Autokey
Provides interfaces for using Cloud KMS Autokey to provision new CryptoKeys
, ready for Customer Managed Encryption Key (CMEK) use, on-demand. To support certain client tooling, this feature is modeled around a KeyHandle
resource: creating a KeyHandle
in a resource project and given location triggers Cloud KMS Autokey to provision a CryptoKey
in the configured key project and the same location.
Prior to use in a given resource project, UpdateAutokeyConfig
should have been called on an ancestor folder, setting the key project where Cloud KMS Autokey should create new CryptoKeys
. See documentation for additional prerequisites. To check what key project, if any, is currently configured on a resource project's ancestor folder, see ShowEffectiveAutokeyConfig
.
CreateKeyHandle |
---|
Creates a new
|
GetKeyHandle |
---|
Returns the
|
ListKeyHandles |
---|
Lists
|
AutokeyAdmin
Provides interfaces for managing Cloud KMS Autokey folder-level configurations. A configuration is inherited by all descendent projects. A configuration at one folder overrides any other configurations in its ancestry. Setting a configuration on a folder is a prerequisite for Cloud KMS Autokey, so that users working in a descendant project can request provisioned CryptoKeys
, ready for Customer Managed Encryption Key (CMEK) use, on-demand.
GetAutokeyConfig |
---|
Returns the
|
ShowEffectiveAutokeyConfig |
---|
Returns the effective Cloud KMS Autokey configuration for a given project.
|
UpdateAutokeyConfig |
---|
Updates the
|
EkmService
Google Cloud Key Management EKM Service
Manages external cryptographic keys and operations using those keys. Implements a REST model with the following objects: * EkmConnection
CreateEkmConnection |
---|
Creates a new
|
GetEkmConfig |
---|
Returns the
|
GetEkmConnection |
---|
Returns metadata for a given
|
ListEkmConnections |
---|
Lists
|
UpdateEkmConfig |
---|
Updates the
|
UpdateEkmConnection |
---|
Updates an
|
VerifyConnectivity |
---|
Verifies that Cloud KMS can successfully connect to the external key manager specified by an
|
KeyManagementService
Google Cloud Key Management Service
Manages cryptographic keys and operations using those keys. Implements a REST model with the following objects:
If you are using manual gRPC libraries, see Using gRPC with Cloud KMS.
AsymmetricDecrypt |
---|
Decrypts data that was encrypted with a public key retrieved from
|
AsymmetricSign |
---|
Signs data using a
|
CreateCryptoKey |
---|
Create a new
|
CreateCryptoKeyVersion |
---|
Create a new The server will assign the next sequential id. If unset,
|
CreateImportJob |
---|
Create a new
|
CreateKeyRing |
---|
Create a new
|
Decrypt |
---|
Decrypts data that was protected by
|
DestroyCryptoKeyVersion |
---|
Schedule a Upon calling this method, Before the
|
Encrypt |
---|
Encrypts data, so that it can only be recovered by a call to
|
GenerateRandomBytes |
---|
Generate random bytes using the Cloud KMS randomness source in the provided location.
|
GetCryptoKey |
---|
Returns metadata for a given
|
GetCryptoKeyVersion |
---|
Returns metadata for a given
|
GetImportJob |
---|
Returns metadata for a given
|
GetKeyRing |
---|
Returns metadata for a given
|
GetPublicKey |
---|
Returns the public key for the given
|
ImportCryptoKeyVersion |
---|
Import wrapped key material into a All requests must specify a
|
ListCryptoKeyVersions |
---|
Lists
|
ListCryptoKeys |
---|
Lists
|
ListImportJobs |
---|
Lists
|
ListKeyRings |
---|
Lists
|
MacSign |
---|
Signs data using a
|
MacVerify |
---|
Verifies MAC tag using a
|
RawDecrypt |
---|
Decrypts data that was originally encrypted using a raw cryptographic mechanism. The
|
RawEncrypt |
---|
Encrypts data using portable cryptographic primitives. Most users should choose
|
RestoreCryptoKeyVersion |
---|
Restore a Upon restoration of the CryptoKeyVersion,
|
UpdateCryptoKey |
---|
Update a
|
UpdateCryptoKeyPrimaryVersion |
---|
Update the version of a Returns an error if called on a key whose purpose is not
|
UpdateCryptoKeyVersion |
---|
Update a
|
AccessReason
Describes the reason for a data access. Please refer to https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes for the detailed semantic meaning of justification reason codes.
Enums | |
---|---|
REASON_UNSPECIFIED |
Unspecified access reason. |
CUSTOMER_INITIATED_SUPPORT |
Customer-initiated support. |
GOOGLE_INITIATED_SERVICE |
Google-initiated access for system management and troubleshooting. |
THIRD_PARTY_DATA_REQUEST |
Google-initiated access in response to a legal request or legal process. |
GOOGLE_INITIATED_REVIEW |
Google-initiated access for security, fraud, abuse, or compliance purposes. |
CUSTOMER_INITIATED_ACCESS |
Customer uses their account to perform any access to their own data which their IAM policy authorizes. |
GOOGLE_INITIATED_SYSTEM_OPERATION |
Google systems access customer data to help optimize the structure of the data or quality for future uses by the customer. |
REASON_NOT_EXPECTED |
No reason is expected for this key request. |
MODIFIED_CUSTOMER_INITIATED_ACCESS |
Customer uses their account to perform any access to their own data which their IAM policy authorizes, and one of the following is true:
|
MODIFIED_GOOGLE_INITIATED_SYSTEM_OPERATION |
Google systems access customer data to help optimize the structure of the data or quality for future uses by the customer, and one of the following is true:
|
GOOGLE_RESPONSE_TO_PRODUCTION_ALERT |
Google-initiated access to maintain system reliability. |
CUSTOMER_AUTHORIZED_WORKFLOW_SERVICING |
One of the following operations is being executed while simultaneously encountering an internal technical issue which prevented a more precise justification code from being generated:
|
AsymmetricDecryptRequest
Request message for KeyManagementService.AsymmetricDecrypt
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
ciphertext |
Required. The data encrypted with the named |
ciphertext_ |
Optional. An optional CRC32C checksum of the |
AsymmetricDecryptResponse
Response message for KeyManagementService.AsymmetricDecrypt
.
Fields | |
---|---|
plaintext |
The decrypted data originally encrypted with the matching public key. |
plaintext_ |
Integrity verification field. A CRC32C checksum of the returned |
verified_ |
Integrity verification field. A flag indicating whether |
protection_ |
The |
AsymmetricSignRequest
Request message for KeyManagementService.AsymmetricSign
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
digest |
Optional. The digest of the data to sign. The digest must be produced with the same digest algorithm as specified by the key version's This field may not be supplied if |
digest_ |
Optional. An optional CRC32C checksum of the |
data |
Optional. The data to sign. It can't be supplied if |
data_ |
Optional. An optional CRC32C checksum of the |
AsymmetricSignResponse
Response message for KeyManagementService.AsymmetricSign
.
Fields | |
---|---|
signature |
The created signature. |
signature_ |
Integrity verification field. A CRC32C checksum of the returned |
verified_ |
Integrity verification field. A flag indicating whether |
name |
The resource name of the |
verified_ |
Integrity verification field. A flag indicating whether |
protection_ |
The |
AutokeyConfig
Cloud KMS Autokey configuration for a folder.
Fields | |
---|---|
name |
Identifier. Name of the |
key_ |
Optional. Name of the key project, e.g. |
state |
Output only. The state for the AutokeyConfig. |
State
The states AutokeyConfig can be in.
Enums | |
---|---|
STATE_UNSPECIFIED |
The state of the AutokeyConfig is unspecified. |
ACTIVE |
The AutokeyConfig is currently active. |
KEY_PROJECT_DELETED |
A previously configured key project has been deleted and the current AutokeyConfig is unusable. |
UNINITIALIZED |
The AutokeyConfig is not yet initialized or has been reset to its default uninitialized state. |
Certificate
A Certificate
represents an X.509 certificate used to authenticate HTTPS connections to EKM replicas.
Fields | |
---|---|
raw_ |
Required. The raw certificate bytes in DER format. |
parsed |
Output only. True if the certificate was parsed successfully. |
issuer |
Output only. The issuer distinguished name in RFC 2253 format. Only present if |
subject |
Output only. The subject distinguished name in RFC 2253 format. Only present if |
subject_ |
Output only. The subject Alternative DNS names. Only present if |
not_ |
Output only. The certificate is not valid before this time. Only present if |
not_ |
Output only. The certificate is not valid after this time. Only present if |
serial_ |
Output only. The certificate serial number as a hex string. Only present if |
sha256_ |
Output only. The SHA-256 certificate fingerprint as a hex string. Only present if |
CreateCryptoKeyRequest
Request message for KeyManagementService.CreateCryptoKey
.
Fields | |
---|---|
parent |
Required. The Authorization requires the following IAM permission on the specified resource
|
crypto_ |
Required. It must be unique within a KeyRing and match the regular expression |
crypto_ |
Required. A |
skip_ |
If set to true, the request will create a |
CreateCryptoKeyVersionRequest
Request message for KeyManagementService.CreateCryptoKeyVersion
.
Fields | |
---|---|
parent |
Required. The Authorization requires the following IAM permission on the specified resource
|
crypto_ |
Required. A |
CreateEkmConnectionRequest
Request message for EkmService.CreateEkmConnection
.
Fields | |
---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the following IAM permission on the specified resource
|
ekm_ |
Required. It must be unique within a location and match the regular expression |
ekm_ |
Required. An |
CreateImportJobRequest
Request message for KeyManagementService.CreateImportJob
.
Fields | |
---|---|
parent |
Required. The Authorization requires the following IAM permission on the specified resource
|
import_ |
Required. It must be unique within a KeyRing and match the regular expression |
import_ |
Required. An |
CreateKeyHandleMetadata
This type has no fields.
Metadata message for CreateKeyHandle
long-running operation response.
CreateKeyHandleRequest
Request message for Autokey.CreateKeyHandle
.
Fields | |
---|---|
parent |
Required. Name of the resource project and location to create the |
key_ |
Optional. Id of the |
key_ |
Required. |
CreateKeyRingRequest
Request message for KeyManagementService.CreateKeyRing
.
Fields | |
---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the following IAM permission on the specified resource
|
key_ |
Required. It must be unique within a location and match the regular expression |
key_ |
Required. A |
CryptoKey
A CryptoKey
represents a logical key that can be used for cryptographic operations.
A CryptoKey
is made up of zero or more versions
, which represent the actual key material used in cryptographic operations.
Fields | |
---|---|
name |
Output only. The resource name for this |
primary |
Output only. A copy of the "primary" The Keys with |
purpose |
Immutable. The immutable purpose of this |
create_ |
Output only. The time at which this |
next_ |
At
Key rotations performed manually via Keys with |
version_ |
A template describing settings for new |
labels |
Labels with user-defined metadata. For more information, see Labeling Keys. |
import_ |
Immutable. Whether this key may contain imported versions only. |
destroy_ |
Immutable. The period of time that versions of this key spend in the |
crypto_ |
Immutable. The resource name of the backend environment where the key material for all |
key_ |
Optional. The policy used for Key Access Justifications Policy Enforcement. If this field is present and this key is enrolled in Key Access Justifications Policy Enforcement, the policy will be evaluated in encrypt, decrypt, and sign operations, and the operation will fail if rejected by the policy. The policy is defined by specifying zero or more allowed justification codes. https://cloud.google.com/assured-workloads/key-access-justifications/docs/justification-codes By default, this field is absent, and all justification codes are allowed. |
Union field rotation_schedule . Controls the rate of automatic rotation. rotation_schedule can be only one of the following: |
|
rotation_ |
If Keys with |
CryptoKeyPurpose
CryptoKeyPurpose
describes the cryptographic capabilities of a CryptoKey
. A given key can only be used for the operations allowed by its purpose. For more information, see Key purposes.
Enums | |
---|---|
CRYPTO_KEY_PURPOSE_UNSPECIFIED |
Not specified. |
ENCRYPT_DECRYPT |
CryptoKeys with this purpose may be used with Encrypt and Decrypt . |
ASYMMETRIC_SIGN |
CryptoKeys with this purpose may be used with AsymmetricSign and GetPublicKey . |
ASYMMETRIC_DECRYPT |
CryptoKeys with this purpose may be used with AsymmetricDecrypt and GetPublicKey . |
RAW_ENCRYPT_DECRYPT |
CryptoKeys with this purpose may be used with RawEncrypt and RawDecrypt . This purpose is meant to be used for interoperable symmetric encryption and does not support automatic CryptoKey rotation. |
MAC |
CryptoKeys with this purpose may be used with MacSign . |
CryptoKeyVersion
A CryptoKeyVersion
represents an individual cryptographic key, and the associated key material.
An ENABLED
version can be used for cryptographic operations.
For security reasons, the raw cryptographic key material represented by a CryptoKeyVersion
can never be viewed or exported. It can only be used to encrypt, decrypt, or sign data when an authorized user or application invokes Cloud KMS.
Fields | |
---|---|
name |
Output only. The resource name for this |
state |
The current state of the |
protection_ |
Output only. The |
algorithm |
Output only. The |
attestation |
Output only. Statement that was generated and signed by the HSM at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only provided for key versions with |
create_ |
Output only. The time at which this |
generate_ |
Output only. The time this |
destroy_ |
Output only. The time this |
destroy_ |
Output only. The time this CryptoKeyVersion's key material was destroyed. Only present if |
import_ |
Output only. The name of the |
import_ |
Output only. The time at which this |
import_ |
Output only. The root cause of the most recent import failure. Only present if |
generation_ |
Output only. The root cause of the most recent generation failure. Only present if |
external_ |
Output only. The root cause of the most recent external destruction failure. Only present if |
external_ |
ExternalProtectionLevelOptions stores a group of additional fields for configuring a |
reimport_ |
Output only. Whether or not this key version is eligible for reimport, by being specified as a target in |
CryptoKeyVersionAlgorithm
The algorithm of the CryptoKeyVersion
, indicating what parameters must be used for each cryptographic operation.
The GOOGLE_SYMMETRIC_ENCRYPTION
algorithm is usable with CryptoKey.purpose
ENCRYPT_DECRYPT
.
Algorithms beginning with RSA_SIGN_
are usable with CryptoKey.purpose
ASYMMETRIC_SIGN
.
The fields in the name after RSA_SIGN_
correspond to the following parameters: padding algorithm, modulus bit length, and digest algorithm.
For PSS, the salt length used is equal to the length of digest algorithm. For example, RSA_SIGN_PSS_2048_SHA256
will use PSS with a salt length of 256 bits or 32 bytes.
Algorithms beginning with RSA_DECRYPT_
are usable with CryptoKey.purpose
ASYMMETRIC_DECRYPT
.
The fields in the name after RSA_DECRYPT_
correspond to the following parameters: padding algorithm, modulus bit length, and digest algorithm.
Algorithms beginning with EC_SIGN_
are usable with CryptoKey.purpose
ASYMMETRIC_SIGN
.
The fields in the name after EC_SIGN_
correspond to the following parameters: elliptic curve, digest algorithm.
Algorithms beginning with HMAC_
are usable with CryptoKey.purpose
MAC
.
The suffix following HMAC_
corresponds to the hash algorithm being used (eg. SHA256).
For more information, see Key purposes and algorithms.
Enums | |
---|---|
CRYPTO_KEY_VERSION_ALGORITHM_UNSPECIFIED |
Not specified. |
GOOGLE_SYMMETRIC_ENCRYPTION |
Creates symmetric encryption keys. |
AES_128_GCM |
AES-GCM (Galois Counter Mode) using 128-bit keys. |
AES_256_GCM |
AES-GCM (Galois Counter Mode) using 256-bit keys. |
AES_128_CBC |
AES-CBC (Cipher Block Chaining Mode) using 128-bit keys. |
AES_256_CBC |
AES-CBC (Cipher Block Chaining Mode) using 256-bit keys. |
AES_128_CTR |
AES-CTR (Counter Mode) using 128-bit keys. |
AES_256_CTR |
AES-CTR (Counter Mode) using 256-bit keys. |
RSA_SIGN_PSS_2048_SHA256 |
RSASSA-PSS 2048 bit key with a SHA256 digest. |
RSA_SIGN_PSS_3072_SHA256 |
RSASSA-PSS 3072 bit key with a SHA256 digest. |
RSA_SIGN_PSS_4096_SHA256 |
RSASSA-PSS 4096 bit key with a SHA256 digest. |
RSA_SIGN_PSS_4096_SHA512 |
RSASSA-PSS 4096 bit key with a SHA512 digest. |
RSA_SIGN_PKCS1_2048_SHA256 |
RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest. |
RSA_SIGN_PKCS1_3072_SHA256 |
RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest. |
RSA_SIGN_PKCS1_4096_SHA256 |
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest. |
RSA_SIGN_PKCS1_4096_SHA512 |
RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest. |
RSA_SIGN_RAW_PKCS1_2048 |
RSASSA-PKCS1-v1_5 signing without encoding, with a 2048 bit key. |
RSA_SIGN_RAW_PKCS1_3072 |
RSASSA-PKCS1-v1_5 signing without encoding, with a 3072 bit key. |
RSA_SIGN_RAW_PKCS1_4096 |
RSASSA-PKCS1-v1_5 signing without encoding, with a 4096 bit key. |
RSA_DECRYPT_OAEP_2048_SHA256 |
RSAES-OAEP 2048 bit key with a SHA256 digest. |
RSA_DECRYPT_OAEP_3072_SHA256 |
RSAES-OAEP 3072 bit key with a SHA256 digest. |
RSA_DECRYPT_OAEP_4096_SHA256 |
RSAES-OAEP 4096 bit key with a SHA256 digest. |
RSA_DECRYPT_OAEP_4096_SHA512 |
RSAES-OAEP 4096 bit key with a SHA512 digest. |
RSA_DECRYPT_OAEP_2048_SHA1 |
RSAES-OAEP 2048 bit key with a SHA1 digest. |
RSA_DECRYPT_OAEP_3072_SHA1 |
RSAES-OAEP 3072 bit key with a SHA1 digest. |
RSA_DECRYPT_OAEP_4096_SHA1 |
RSAES-OAEP 4096 bit key with a SHA1 digest. |
EC_SIGN_P256_SHA256 |
ECDSA on the NIST P-256 curve with a SHA256 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms |
EC_SIGN_P384_SHA384 |
ECDSA on the NIST P-384 curve with a SHA384 digest. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms |
EC_SIGN_SECP256K1_SHA256 |
ECDSA on the non-NIST secp256k1 curve. This curve is only supported for HSM protection level. Other hash functions can also be used: https://cloud.google.com/kms/docs/create-validate-signatures#ecdsa_support_for_other_hash_algorithms |
EC_SIGN_ED25519 |
EdDSA on the Curve25519 in pure mode (taking data as input). |
HMAC_SHA256 |
HMAC-SHA256 signing with a 256 bit key. |
HMAC_SHA1 |
HMAC-SHA1 signing with a 160 bit key. |
HMAC_SHA384 |
HMAC-SHA384 signing with a 384 bit key. |
HMAC_SHA512 |
HMAC-SHA512 signing with a 512 bit key. |
HMAC_SHA224 |
HMAC-SHA224 signing with a 224 bit key. |
EXTERNAL_SYMMETRIC_ENCRYPTION |
Algorithm representing symmetric encryption by an external key manager. |
CryptoKeyVersionState
The state of a CryptoKeyVersion
, indicating if it can be used.
Enums | |
---|---|
CRYPTO_KEY_VERSION_STATE_UNSPECIFIED |
Not specified. |
PENDING_GENERATION |
This version is still being generated. It may not be used, enabled, disabled, or destroyed yet. Cloud KMS will automatically mark this version ENABLED as soon as the version is ready. |
ENABLED |
This version may be used for cryptographic operations. |
DISABLED |
This version may not be used, but the key material is still available, and the version can be placed back into the ENABLED state. |
DESTROYED |
This version is destroyed, and the key material is no longer stored. This version may only become ENABLED again if this version is reimport_eligible and the original key material is reimported with a call to KeyManagementService.ImportCryptoKeyVersion . |
DESTROY_SCHEDULED |
This version is scheduled for destruction, and will be destroyed soon. Call RestoreCryptoKeyVersion to put it back into the DISABLED state. |
PENDING_IMPORT |
This version is still being imported. It may not be used, enabled, disabled, or destroyed yet. Cloud KMS will automatically mark this version ENABLED as soon as the version is ready. |
IMPORT_FAILED |
This version was not imported successfully. It may not be used, enabled, disabled, or destroyed. The submitted key material has been discarded. Additional details can be found in CryptoKeyVersion.import_failure_reason . |
GENERATION_FAILED |
This version was not generated successfully. It may not be used, enabled, disabled, or destroyed. Additional details can be found in CryptoKeyVersion.generation_failure_reason . |
PENDING_EXTERNAL_DESTRUCTION |
This version was destroyed, and it may not be used or enabled again. Cloud KMS is waiting for the corresponding key material residing in an external key manager to be destroyed. |
EXTERNAL_DESTRUCTION_FAILED |
This version was destroyed, and it may not be used or enabled again. However, Cloud KMS could not confirm that the corresponding key material residing in an external key manager was destroyed. Additional details can be found in CryptoKeyVersion.external_destruction_failure_reason . |
CryptoKeyVersionView
A view for CryptoKeyVersion
s. Controls the level of detail returned for CryptoKeyVersions
in KeyManagementService.ListCryptoKeyVersions
and KeyManagementService.ListCryptoKeys
.
Enums | |
---|---|
CRYPTO_KEY_VERSION_VIEW_UNSPECIFIED |
Default view for each CryptoKeyVersion . Does not include the attestation field. |
FULL |
Provides all fields in each CryptoKeyVersion , including the attestation . |
CryptoKeyVersionTemplate
A CryptoKeyVersionTemplate
specifies the properties to use when creating a new CryptoKeyVersion
, either manually with CreateCryptoKeyVersion
or automatically as a result of auto-rotation.
Fields | |
---|---|
protection_ |
|
algorithm |
Required. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied if both this field is omitted and |
DecryptRequest
Request message for KeyManagementService.Decrypt
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
ciphertext |
Required. The encrypted data originally returned in |
additional_ |
Optional. Optional data that must match the data originally supplied in |
ciphertext_ |
Optional. An optional CRC32C checksum of the |
additional_ |
Optional. An optional CRC32C checksum of the |
DecryptResponse
Response message for KeyManagementService.Decrypt
.
Fields | |
---|---|
plaintext |
The decrypted data originally supplied in |
plaintext_ |
Integrity verification field. A CRC32C checksum of the returned |
used_ |
Whether the Decryption was performed using the primary key version. |
protection_ |
The |
DestroyCryptoKeyVersionRequest
Request message for KeyManagementService.DestroyCryptoKeyVersion
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
Digest
A Digest
holds a cryptographic message digest.
Fields | |
---|---|
Union field digest . Required. The message digest. digest can be only one of the following: |
|
sha256 |
A message digest produced with the SHA-256 algorithm. |
sha384 |
A message digest produced with the SHA-384 algorithm. |
sha512 |
A message digest produced with the SHA-512 algorithm. |
EkmConfig
An EkmConfig
is a singleton resource that represents configuration parameters that apply to all CryptoKeys
and CryptoKeyVersions
with a ProtectionLevel
of [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC] in a given project and location.
Fields | |
---|---|
name |
Output only. The resource name for the |
default_ |
Optional. Resource name of the default |
EkmConnection
An EkmConnection
represents an individual EKM connection. It can be used for creating CryptoKeys
and CryptoKeyVersions
with a ProtectionLevel
of [EXTERNAL_VPC][CryptoKeyVersion.ProtectionLevel.EXTERNAL_VPC], as well as performing cryptographic operations using keys created within the EkmConnection
.
Fields | |
---|---|
name |
Output only. The resource name for the |
create_ |
Output only. The time at which the |
service_ |
Optional. A list of |
etag |
Optional. Etag of the currently stored |
key_ |
Optional. Describes who can perform control plane operations on the EKM. If unset, this defaults to |
crypto_ |
Optional. Identifies the EKM Crypto Space that this |
KeyManagementMode
KeyManagementMode
describes who can perform control plane cryptographic operations using this EkmConnection
.
Enums | |
---|---|
KEY_MANAGEMENT_MODE_UNSPECIFIED |
Not specified. |
MANUAL |
EKM-side key management operations on CryptoKeys created with this EkmConnection must be initiated from the EKM directly and cannot be performed from Cloud KMS. This means that: * When creating a CryptoKeyVersion associated with this EkmConnection , the caller must supply the key path of pre-existing external key material that will be linked to the CryptoKeyVersion . * Destruction of external key material cannot be requested via the Cloud KMS API and must be performed directly in the EKM. * Automatic rotation of key material is not supported. |
CLOUD_KMS |
All CryptoKeys created with this EkmConnection use EKM-side key management operations initiated from Cloud KMS. This means that: * When a CryptoKeyVersion associated with this EkmConnection is created, the EKM automatically generates new key material and a new key path. The caller cannot supply the key path of pre-existing external key material. * Destruction of external key material associated with this EkmConnection can be requested by calling [DestroyCryptoKeyVersion][EkmService.DestroyCryptoKeyVersion]. * Automatic rotation of key material is supported. |
ServiceResolver
A ServiceResolver
represents an EKM replica that can be reached within an EkmConnection
.
Fields | |
---|---|
service_ |
Required. The resource name of the Service Directory service pointing to an EKM replica, in the format |
endpoint_ |
Optional. The filter applied to the endpoints of the resolved service. If no filter is specified, all endpoints will be considered. An endpoint will be chosen arbitrarily from the filtered list for each request. For endpoint filter syntax and examples, see https://cloud.google.com/service-directory/docs/reference/rpc/google.cloud.servicedirectory.v1#resolveservicerequest. |
hostname |
Required. The hostname of the EKM replica used at TLS and HTTP layers. |
server_ |
Required. A list of leaf server certificates used to authenticate HTTPS connections to the EKM replica. Currently, a maximum of 10 |
EncryptRequest
Request message for KeyManagementService.Encrypt
.
Fields | |
---|---|
name |
Required. The resource name of the If a Authorization requires the following IAM permission on the specified resource
|
plaintext |
Required. The data to encrypt. Must be no larger than 64KiB. The maximum size depends on the key version's |
additional_ |
Optional. Optional data that, if specified, must also be provided during decryption through The maximum size depends on the key version's |
plaintext_ |
Optional. An optional CRC32C checksum of the |
additional_ |
Optional. An optional CRC32C checksum of the |
EncryptResponse
Response message for KeyManagementService.Encrypt
.
Fields | |
---|---|
name |
The resource name of the |
ciphertext |
The encrypted data. |
ciphertext_ |
Integrity verification field. A CRC32C checksum of the returned |
verified_ |
Integrity verification field. A flag indicating whether |
verified_ |
Integrity verification field. A flag indicating whether |
protection_ |
The |
ExternalProtectionLevelOptions
ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion
that are specific to the EXTERNAL
protection level and EXTERNAL_VPC
protection levels.
Fields | |
---|---|
external_ |
The URI for an external resource that this |
ekm_ |
The path to the external key material on the EKM when using |
GenerateRandomBytesRequest
Request message for KeyManagementService.GenerateRandomBytes
.
Fields | |
---|---|
location |
The project-specific location in which to generate random bytes. For example, "projects/my-project/locations/us-central1". |
length_ |
The length in bytes of the amount of randomness to retrieve. Minimum 8 bytes, maximum 1024 bytes. |
protection_ |
The |
GenerateRandomBytesResponse
Response message for KeyManagementService.GenerateRandomBytes
.
Fields | |
---|---|
data |
The generated data. |
data_ |
Integrity verification field. A CRC32C checksum of the returned |
GetAutokeyConfigRequest
Request message for GetAutokeyConfig
.
Fields | |
---|---|
name |
Required. Name of the |
GetCryptoKeyRequest
Request message for KeyManagementService.GetCryptoKey
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
GetCryptoKeyVersionRequest
Request message for KeyManagementService.GetCryptoKeyVersion
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
GetEkmConfigRequest
Request message for EkmService.GetEkmConfig
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
GetEkmConnectionRequest
Request message for EkmService.GetEkmConnection
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
GetImportJobRequest
Request message for KeyManagementService.GetImportJob
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
GetKeyHandleRequest
Request message for GetKeyHandle
.
Fields | |
---|---|
name |
Required. Name of the |
GetKeyRingRequest
Request message for KeyManagementService.GetKeyRing
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
GetPublicKeyRequest
Request message for KeyManagementService.GetPublicKey
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
ImportCryptoKeyVersionRequest
Request message for KeyManagementService.ImportCryptoKeyVersion
.
Fields | |
---|---|
parent |
Required. The The create permission is only required on this key when creating a new Authorization requires the following IAM permission on the specified resource
|
crypto_ |
Optional. The optional If this field is present, the supplied key material is imported into the existing Authorization requires the following IAM permission on the specified resource
|
algorithm |
Required. The |
import_ |
Required. The Authorization requires the following IAM permission on the specified resource
|
wrapped_ |
Optional. The wrapped key material to import. Before wrapping, key material must be formatted. If importing symmetric key material, the expected key material format is plain bytes. If importing asymmetric key material, the expected key material format is PKCS#8-encoded DER (the PrivateKeyInfo structure from RFC 5208). When wrapping with import methods ( this field must contain the concatenation of:
This format is the same as the format produced by PKCS#11 mechanism CKM_RSA_AES_KEY_WRAP. When wrapping with import methods ( this field must contain the formatted key to be imported, wrapped with the |
Union field wrapped_key_material . This field is legacy. Use the field wrapped_key instead. wrapped_key_material can be only one of the following: |
|
rsa_ |
Optional. This field has the same meaning as |
ImportJob
An ImportJob
can be used to create CryptoKeys
and CryptoKeyVersions
using pre-existing key material, generated outside of Cloud KMS.
When an ImportJob
is created, Cloud KMS will generate a "wrapping key", which is a public/private key pair. You use the wrapping key to encrypt (also known as wrap) the pre-existing key material to protect it during the import process. The nature of the wrapping key depends on the choice of import_method
. When the wrapping key generation is complete, the state
will be set to ACTIVE
and the public_key
can be fetched. The fetched public key can then be used to wrap your pre-existing key material.
Once the key material is wrapped, it can be imported into a new CryptoKeyVersion
in an existing CryptoKey
by calling ImportCryptoKeyVersion
. Multiple CryptoKeyVersions
can be imported with a single ImportJob
. Cloud KMS uses the private key portion of the wrapping key to unwrap the key material. Only Cloud KMS has access to the private key.
An ImportJob
expires 3 days after it is created. Once expired, Cloud KMS will no longer be able to import or unwrap any key material that was wrapped with the ImportJob
's public key.
For more information, see Importing a key.
Fields | |
---|---|
name |
Output only. The resource name for this |
import_ |
Required. Immutable. The wrapping method to be used for incoming key material. |
protection_ |
Required. Immutable. The protection level of the |
create_ |
Output only. The time at which this |
generate_ |
Output only. The time this |
expire_ |
Output only. The time at which this |
expire_ |
Output only. The time this |
state |
Output only. The current state of the |
public_ |
Output only. The public key with which to wrap key material prior to import. Only returned if |
attestation |
Output only. Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen |
ImportJobState
The state of the ImportJob
, indicating if it can be used.
Enums | |
---|---|
IMPORT_JOB_STATE_UNSPECIFIED |
Not specified. |
PENDING_GENERATION |
The wrapping key for this job is still being generated. It may not be used. Cloud KMS will automatically mark this job as ACTIVE as soon as the wrapping key is generated. |
ACTIVE |
This job may be used in CreateCryptoKey and CreateCryptoKeyVersion requests. |
EXPIRED |
This job can no longer be used and may not leave this state once entered. |
ImportMethod
ImportMethod
describes the key wrapping method chosen for this ImportJob
.
Enums | |
---|---|
IMPORT_METHOD_UNSPECIFIED |
Not specified. |
RSA_OAEP_3072_SHA1_AES_256 |
This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_4096_SHA1_AES_256 |
This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_3072_SHA256_AES_256 |
This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_4096_SHA256_AES_256 |
This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism. |
RSA_OAEP_3072_SHA256 |
This ImportMethod represents RSAES-OAEP with a 3072 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
RSA_OAEP_4096_SHA256 |
This ImportMethod represents RSAES-OAEP with a 4096 bit RSA key. The key material to be imported is wrapped directly with the RSA key. Due to technical limitations of RSA wrapping, this method cannot be used to wrap RSA keys for import. |
WrappingPublicKey
The public key component of the wrapping key. For details of the type of key this public key corresponds to, see the ImportMethod
.
Fields | |
---|---|
pem |
The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info. |
KeyAccessJustificationsPolicy
A KeyAccessJustificationsPolicy
specifies zero or more allowed AccessReason
values for encrypt, decrypt, and sign operations on a CryptoKey
.
Fields | |
---|---|
allowed_ |
The list of allowed reasons for access to a |
KeyHandle
Resource-oriented representation of a request to Cloud KMS Autokey and the resulting provisioning of a CryptoKey
.
Fields | |
---|---|
name |
Identifier. Name of the |
kms_ |
Output only. Name of a |
resource_ |
Required. Indicates the resource type that the resulting |
KeyOperationAttestation
Contains an HSM-generated attestation about a key operation. For more information, see Verifying attestations.
Fields | |
---|---|
format |
Output only. The format of the attestation data. |
content |
Output only. The attestation data provided by the HSM when the key operation was performed. |
cert_ |
Output only. The certificate chains needed to validate the attestation |
AttestationFormat
Attestation formats provided by the HSM.
Enums | |
---|---|
ATTESTATION_FORMAT_UNSPECIFIED |
Not specified. |
CAVIUM_V1_COMPRESSED |
Cavium HSM attestation compressed with gzip. Note that this format is defined by Cavium and subject to change at any time. See https://www.marvell.com/products/security-solutions/nitrox-hs-adapters/software-key-attestation.html. |
CAVIUM_V2_COMPRESSED |
Cavium HSM attestation V2 compressed with gzip. This is a new format introduced in Cavium's version 3.2-08. |
CertificateChains
Certificate chains needed to verify the attestation. Certificates in chains are PEM-encoded and are ordered based on https://tools.ietf.org/html/rfc5246#section-7.4.2.
Fields | |
---|---|
cavium_ |
Cavium certificate chain corresponding to the attestation. |
google_ |
Google card certificate chain corresponding to the attestation. |
google_ |
Google partition certificate chain corresponding to the attestation. |
KeyRing
A KeyRing
is a toplevel logical grouping of CryptoKeys
.
Fields | |
---|---|
name |
Output only. The resource name for the |
create_ |
Output only. The time at which this |
ListCryptoKeyVersionsRequest
Request message for KeyManagementService.ListCryptoKeyVersions
.
Fields | |
---|---|
parent |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
page_ |
Optional. Optional limit on the number of |
page_ |
Optional. Optional pagination token, returned earlier via |
view |
The fields to include in the response. |
filter |
Optional. Only include resources that match the filter in the response. For more information, see Sorting and filtering list results. |
order_ |
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see Sorting and filtering list results. |
ListCryptoKeyVersionsResponse
Response message for KeyManagementService.ListCryptoKeyVersions
.
Fields | |
---|---|
crypto_ |
The list of |
next_ |
A token to retrieve next page of results. Pass this value in |
total_ |
The total number of |
ListCryptoKeysRequest
Request message for KeyManagementService.ListCryptoKeys
.
Fields | |
---|---|
parent |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
page_ |
Optional. Optional limit on the number of |
page_ |
Optional. Optional pagination token, returned earlier via |
version_ |
The fields of the primary version to include in the response. |
filter |
Optional. Only include resources that match the filter in the response. For more information, see Sorting and filtering list results. |
order_ |
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see Sorting and filtering list results. |
ListCryptoKeysResponse
Response message for KeyManagementService.ListCryptoKeys
.
Fields | |
---|---|
crypto_ |
The list of |
next_ |
A token to retrieve next page of results. Pass this value in |
total_ |
The total number of |
ListEkmConnectionsRequest
Request message for EkmService.ListEkmConnections
.
Fields | |
---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the following IAM permission on the specified resource
|
page_ |
Optional. Optional limit on the number of |
page_ |
Optional. Optional pagination token, returned earlier via |
filter |
Optional. Only include resources that match the filter in the response. For more information, see Sorting and filtering list results. |
order_ |
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see Sorting and filtering list results. |
ListEkmConnectionsResponse
Response message for EkmService.ListEkmConnections
.
Fields | |
---|---|
ekm_ |
The list of |
next_ |
A token to retrieve next page of results. Pass this value in |
total_ |
The total number of |
ListImportJobsRequest
Request message for KeyManagementService.ListImportJobs
.
Fields | |
---|---|
parent |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
page_ |
Optional. Optional limit on the number of |
page_ |
Optional. Optional pagination token, returned earlier via |
filter |
Optional. Only include resources that match the filter in the response. For more information, see Sorting and filtering list results. |
order_ |
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see Sorting and filtering list results. |
ListImportJobsResponse
Response message for KeyManagementService.ListImportJobs
.
Fields | |
---|---|
import_ |
The list of |
next_ |
A token to retrieve next page of results. Pass this value in |
total_ |
The total number of |
ListKeyHandlesRequest
Request message for Autokey.ListKeyHandles
.
Fields | |
---|---|
parent |
Required. Name of the resource project and location from which to list |
page_ |
Optional. Optional limit on the number of |
page_ |
Optional. Optional pagination token, returned earlier via |
filter |
Optional. Filter to apply when listing |
ListKeyHandlesResponse
Response message for Autokey.ListKeyHandles
.
Fields | |
---|---|
key_ |
Resulting |
next_ |
A token to retrieve next page of results. Pass this value in |
ListKeyRingsRequest
Request message for KeyManagementService.ListKeyRings
.
Fields | |
---|---|
parent |
Required. The resource name of the location associated with the Authorization requires the following IAM permission on the specified resource
|
page_ |
Optional. Optional limit on the number of |
page_ |
Optional. Optional pagination token, returned earlier via |
filter |
Optional. Only include resources that match the filter in the response. For more information, see Sorting and filtering list results. |
order_ |
Optional. Specify how the results should be sorted. If not specified, the results will be sorted in the default order. For more information, see Sorting and filtering list results. |
ListKeyRingsResponse
Response message for KeyManagementService.ListKeyRings
.
Fields | |
---|---|
key_ |
The list of |
next_ |
A token to retrieve next page of results. Pass this value in |
total_ |
The total number of |
LocationMetadata
Cloud KMS metadata for the given google.cloud.location.Location
.
Fields | |
---|---|
hsm_ |
Indicates whether |
ekm_ |
Indicates whether |
MacSignRequest
Request message for KeyManagementService.MacSign
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
data |
Required. The data to sign. The MAC tag is computed over this data field based on the specific algorithm. |
data_ |
Optional. An optional CRC32C checksum of the |
MacSignResponse
Response message for KeyManagementService.MacSign
.
Fields | |
---|---|
name |
The resource name of the |
mac |
The created signature. |
mac_ |
Integrity verification field. A CRC32C checksum of the returned |
verified_ |
Integrity verification field. A flag indicating whether |
protection_ |
The |
MacVerifyRequest
Request message for KeyManagementService.MacVerify
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
data |
Required. The data used previously as a |
data_ |
Optional. An optional CRC32C checksum of the |
mac |
Required. The signature to verify. |
mac_ |
Optional. An optional CRC32C checksum of the |
MacVerifyResponse
Response message for KeyManagementService.MacVerify
.
Fields | |
---|---|
name |
The resource name of the |
success |
This field indicates whether or not the verification operation for |
verified_ |
Integrity verification field. A flag indicating whether |
verified_ |
Integrity verification field. A flag indicating whether |
verified_ |
Integrity verification field. This value is used for the integrity verification of [MacVerifyResponse.success]. If the value of this field contradicts the value of [MacVerifyResponse.success], discard the response and perform a limited number of retries. |
protection_ |
The |
ProtectionLevel
ProtectionLevel
specifies how cryptographic operations are performed. For more information, see Protection levels.
Enums | |
---|---|
PROTECTION_LEVEL_UNSPECIFIED |
Not specified. |
SOFTWARE |
Crypto operations are performed in software. |
HSM |
Crypto operations are performed in a Hardware Security Module. |
EXTERNAL |
Crypto operations are performed by an external key manager. |
EXTERNAL_VPC |
Crypto operations are performed in an EKM-over-VPC backend. |
PublicKey
The public keys for a given CryptoKeyVersion
. Obtained via GetPublicKey
.
Fields | |
---|---|
pem |
The public key, encoded in PEM format. For more information, see the RFC 7468 sections for General Considerations and Textual Encoding of Subject Public Key Info. |
algorithm |
The |
pem_ |
Integrity verification field. A CRC32C checksum of the returned NOTE: This field is in Beta. |
name |
The NOTE: This field is in Beta. |
protection_ |
The |
RawDecryptRequest
Request message for KeyManagementService.RawDecrypt
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
ciphertext |
Required. The encrypted data originally returned in |
additional_ |
Optional. Optional data that must match the data originally supplied in |
initialization_ |
Required. The initialization vector (IV) used during encryption, which must match the data originally provided in |
tag_ |
The length of the authentication tag that is appended to the end of the ciphertext. If unspecified (0), the default value for the key's algorithm will be used (for AES-GCM, the default value is 16). |
ciphertext_ |
Optional. An optional CRC32C checksum of the |
additional_ |
Optional. An optional CRC32C checksum of the |
initialization_ |
Optional. An optional CRC32C checksum of the |
RawDecryptResponse
Response message for KeyManagementService.RawDecrypt
.
Fields | |
---|---|
plaintext |
The decrypted data. |
plaintext_ |
Integrity verification field. A CRC32C checksum of the returned |
protection_ |
The |
verified_ |
Integrity verification field. A flag indicating whether |
verified_ |
Integrity verification field. A flag indicating whether |
verified_ |
Integrity verification field. A flag indicating whether |
RawEncryptRequest
Request message for KeyManagementService.RawEncrypt
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
plaintext |
Required. The data to encrypt. Must be no larger than 64KiB. The maximum size depends on the key version's |
additional_ |
Optional. Optional data that, if specified, must also be provided during decryption through This field may only be used in conjunction with an The maximum size depends on the key version's |
plaintext_ |
Optional. An optional CRC32C checksum of the |
additional_ |
Optional. An optional CRC32C checksum of the |
initialization_ |
Optional. A customer-supplied initialization vector that will be used for encryption. If it is not provided for AES-CBC and AES-CTR, one will be generated. It will be returned in |
initialization_ |
Optional. An optional CRC32C checksum of the |
RawEncryptResponse
Response message for KeyManagementService.RawEncrypt
.
Fields | |
---|---|
ciphertext |
The encrypted data. In the case of AES-GCM, the authentication tag is the |
initialization_ |
The initialization vector (IV) generated by the service during encryption. This value must be stored and provided in |
tag_ |
The length of the authentication tag that is appended to the end of the ciphertext. |
ciphertext_ |
Integrity verification field. A CRC32C checksum of the returned |
initialization_ |
Integrity verification field. A CRC32C checksum of the returned |
verified_ |
Integrity verification field. A flag indicating whether |
verified_ |
Integrity verification field. A flag indicating whether |
verified_ |
Integrity verification field. A flag indicating whether |
name |
The resource name of the |
protection_ |
The |
RestoreCryptoKeyVersionRequest
Request message for KeyManagementService.RestoreCryptoKeyVersion
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
ShowEffectiveAutokeyConfigRequest
Request message for ShowEffectiveAutokeyConfig
.
Fields | |
---|---|
parent |
Required. Name of the resource project to the show effective Cloud KMS Autokey configuration for. This may be helpful for interrogating the effect of nested folder configurations on a given resource project. |
ShowEffectiveAutokeyConfigResponse
Response message for ShowEffectiveAutokeyConfig
.
Fields | |
---|---|
key_ |
Name of the key project configured in the resource project's folder ancestry. |
UpdateAutokeyConfigRequest
Request message for UpdateAutokeyConfig
.
Fields | |
---|---|
autokey_ |
Required. |
update_ |
Required. Masks which fields of the |
UpdateCryptoKeyPrimaryVersionRequest
Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion
.
Fields | |
---|---|
name |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
crypto_ |
Required. The id of the child |
UpdateCryptoKeyRequest
Request message for KeyManagementService.UpdateCryptoKey
.
Fields | |
---|---|
crypto_ |
Required. Authorization requires the following IAM permission on the specified resource
|
update_ |
Required. List of fields to be updated in this request. |
UpdateCryptoKeyVersionRequest
Request message for KeyManagementService.UpdateCryptoKeyVersion
.
Fields | |
---|---|
crypto_ |
Required. Authorization requires the following IAM permission on the specified resource
|
update_ |
Required. List of fields to be updated in this request. |
UpdateEkmConfigRequest
Request message for EkmService.UpdateEkmConfig
.
Fields | |
---|---|
ekm_ |
Required. Authorization requires the following IAM permission on the specified resource
|
update_ |
Required. List of fields to be updated in this request. |
UpdateEkmConnectionRequest
Request message for EkmService.UpdateEkmConnection
.
Fields | |
---|---|
ekm_ |
Required. Authorization requires the following IAM permission on the specified resource
|
update_ |
Required. List of fields to be updated in this request. |
VerifyConnectivityRequest
Request message for EkmService.VerifyConnectivity
.
Fields | |
---|---|
name |
Required. The Authorization requires the following IAM permission on the specified resource
|
VerifyConnectivityResponse
This type has no fields.
Response message for EkmService.VerifyConnectivity
.