Method: cryptoKeys.patch

Full name: projects.locations.keyRings.cryptoKeys.patch

Update a CryptoKey.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
cryptoKey.name

string

Output only. The resource name for this CryptoKey in the format projects/*/locations/*/keyRings/*/cryptoKeys/*.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. List of fields to be updated in this request.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of CryptoKey.

Response body

If successful, the response body contains an instance of CryptoKey.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.