Cloud Key Management Service (KMS) API (cloudkms:v1)

2025-02-15

1 updated method

Updates

    Methods
  • cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.getPublicKey

      Parameters :

        publicKeyFormat

          Description : 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.

          Location : query

          Type : string

          Enum Descriptions :

        • If the public_key_format field is not specified: - For PQC algorithms, an error will be returned. - For non-PQC algorithms, the default format is PEM, and the field pem will be populated. Otherwise, the public key will be exported through the public_key field in the requested format.
        • The returned public key will be encoded in PEM format. See the [RFC7468](https://tools.ietf.org/html/rfc7468) sections for [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13) for more information.
        • This is supported only for PQC algorithms. The key material is returned in the format defined by NIST PQC standards (FIPS 203, FIPS 204, and FIPS 205).
        • Enum :

        • PUBLIC_KEY_FORMAT_UNSPECIFIED
        • PEM
        • NIST_PQC