Method: cryptoKeys.patch

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

Update a CryptoKey.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



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

Query parameters


string (FieldMask format)

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

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:


For more information, see the Authentication Overview.

Try it!

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud KMS Documentation