Class GetPublicKeyRequest (3.4.0)

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

Request message for KeyManagementService.GetPublicKey.

Attributes

Name Description
name str
Required. The name of the CryptoKeyVersion public key to get.
public_key_format google.cloud.kms_v1.types.PublicKey.PublicKeyFormat
Optional. The PublicKey format specified by the user. This field is required for PQC algorithms. If specified, the public key will be exported through the public_key field in the requested format. Otherwise, the pem field will be populated for non-PQC algorithms, and an error will be returned for PQC algorithms.