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

2023-06-29

2 new methods

Additions

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

      Path: v1/{+name}:rawDecrypt

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:rawDecrypt

      Parameter Order: name

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloudkms
    • HTTP Method: POST

      Parameters:

        name

          Pattern: ^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$

          Type: string

          Location: path

          Description: Required. The resource name of the CryptoKeyVersion to use for decryption.

          Required: Yes

      Description: Decrypts data that was originally encrypted using a raw cryptographic mechanism. The CryptoKey.purpose must be RAW_ENCRYPT_DECRYPT.

  • cloudkms.projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.rawEncrypt

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/keyRings/{keyRingsId}/cryptoKeys/{cryptoKeysId}/cryptoKeyVersions/{cryptoKeyVersionsId}:rawEncrypt

      HTTP Method: POST

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloudkms
    • Description: Encrypts data using portable cryptographic primitives. Most users should choose Encrypt and Decrypt rather than their raw counterparts. The CryptoKey.purpose must be RAW_ENCRYPT_DECRYPT.

      Path: v1/{+name}:rawEncrypt

      Parameter Order: name

      Parameters:

        name

          Pattern: ^projects/[^/]+/locations/[^/]+/keyRings/[^/]+/cryptoKeys/[^/]+/cryptoKeyVersions/[^/]+$

          Required: Yes

          Location: path

          Description: Required. The resource name of the CryptoKeyVersion to use for encryption.

          Type: string