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

2023-06-30

2 new methods

Additions

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

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

      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.

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloudkms
    • Path: v1/{+name}:rawEncrypt

      Parameters:

        name

          Type: string

          Location: path

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

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

          Required: Yes

      HTTP Method: POST

      Parameter Order: name

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

      Parameters:

        name

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

          Type: string

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

          Location: path

          Required: Yes

      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
    • Path: v1/{+name}:rawDecrypt

      HTTP Method: POST

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

2 removed methods

Deletions

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

      Path: v1/{+name}:rawEncrypt

      HTTP Method: POST

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

      Parameters:

        name

          Type: string

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

          Required: Yes

          Location: path

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

      Scopes:

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/cloudkms
    • Parameter Order: name

      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.

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

      Parameter Order: name

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

      Scopes:

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

      Path: v1/{+name}:rawDecrypt

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

      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