cloudkms.v1 library Null safety

Cloud Key Management Service (KMS) API - v1

Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.

For more information, see cloud.google.com/kms/

Create an instance of CloudKMSApi to access these resources:

Classes

AsymmetricDecryptRequest
Request message for KeyManagementService.AsymmetricDecrypt.
AsymmetricDecryptResponse
Response message for KeyManagementService.AsymmetricDecrypt.
AsymmetricSignRequest
Request message for KeyManagementService.AsymmetricSign.
AsymmetricSignResponse
Response message for KeyManagementService.AsymmetricSign.
AuditConfig
Specifies the audit configuration for a service. [...]
Binding
Associates members, or principals, with a role.
CertificateChains
Certificate chains needed to verify the attestation. [...]
CloudKMSApi
Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications.
CryptoKey
A CryptoKey represents a logical key that can be used for cryptographic operations. [...]
CryptoKeyVersion
A CryptoKeyVersion represents an individual cryptographic key, and the associated key material. [...]
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.
DecryptRequest
Request message for KeyManagementService.Decrypt.
DecryptResponse
Response message for KeyManagementService.Decrypt.
Digest
A Digest holds a cryptographic message digest.
EncryptRequest
Request message for KeyManagementService.Encrypt.
EncryptResponse
Response message for KeyManagementService.Encrypt.
ExternalProtectionLevelOptions
ExternalProtectionLevelOptions stores a group of additional fields for configuring a CryptoKeyVersion that are specific to the EXTERNAL protection level.
GenerateRandomBytesRequest
Request message for KeyManagementService.GenerateRandomBytes.
GenerateRandomBytesResponse
Response message for KeyManagementService.GenerateRandomBytes.
ImportCryptoKeyVersionRequest
Request message for KeyManagementService.ImportCryptoKeyVersion.
ImportJob
An ImportJob can be used to create CryptoKeys and CryptoKeyVersions using pre-existing key material, generated outside of Cloud KMS. [...]
KeyOperationAttestation
Contains an HSM-generated attestation about a key operation. [...]
KeyRing
A KeyRing is a toplevel logical grouping of CryptoKeys.
ListCryptoKeysResponse
Response message for KeyManagementService.ListCryptoKeys.
ListCryptoKeyVersionsResponse
Response message for KeyManagementService.ListCryptoKeyVersions.
ListImportJobsResponse
Response message for KeyManagementService.ListImportJobs.
ListKeyRingsResponse
Response message for KeyManagementService.ListKeyRings.
ListLocationsResponse
The response message for Locations.ListLocations.
MacSignRequest
Request message for KeyManagementService.MacSign.
MacSignResponse
Response message for KeyManagementService.MacSign.
MacVerifyRequest
Request message for KeyManagementService.MacVerify.
MacVerifyResponse
Response message for KeyManagementService.MacVerify.
Policy
An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. [...]
ProjectsLocationsKeyRingsCryptoKeysCryptoKeyVersionsResource
ProjectsLocationsKeyRingsCryptoKeysResource
ProjectsLocationsKeyRingsImportJobsResource
ProjectsLocationsKeyRingsResource
ProjectsLocationsResource
ProjectsResource
PublicKey
The public key for a given CryptoKeyVersion. [...]
SetIamPolicyRequest
Request message for SetIamPolicy method.
UpdateCryptoKeyPrimaryVersionRequest
Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.
WrappingPublicKey
The public key component of the wrapping key. [...]

Typedefs

AuditLogConfig = $AuditLogConfig
Provides the configuration for logging a type of permissions. [...]
DestroyCryptoKeyVersionRequest = $Empty
Request message for KeyManagementService.DestroyCryptoKeyVersion.
Expr = $Expr
Represents a textual expression in the Common Expression Language (CEL) syntax. [...]
Location = $Location00
A resource that represents Google Cloud Platform location.
RestoreCryptoKeyVersionRequest = $Empty
Request message for KeyManagementService.RestoreCryptoKeyVersion.
TestIamPermissionsRequest = $TestIamPermissionsRequest
Request message for TestIamPermissions method.
TestIamPermissionsResponse = $PermissionsResponse
Response message for TestIamPermissions method.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.