Method: projects.locations.keyRings.cryptoKeys.cryptoKeyVersions.create

Create a new CryptoKeyVersion in a CryptoKey.

The server will assign the next sequential id. If unset, state will be set to ENABLED.

HTTP request


The URL uses Google API HTTP annotation syntax.

Path parameters



Required. The name of the CryptoKey associated with the CryptoKeyVersions.

Authorization requires the following Google IAM permission on the specified resource parent:

  • cloudkms.cryptoKeyVersions.create

Request body

The request body contains an instance of CryptoKeyVersion.

Response body

If successful, the response body contains a newly created instance of CryptoKeyVersion.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Auth Guide.

Send feedback about...

Cloud KMS Documentation