Full name: 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
POST https://cloudkms.googleapis.com/v1/{parent=projects/*/locations/*/keyRings/*/cryptoKeys/*}/cryptoKeyVersions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The Authorization requires the following IAM permission on the specified resource
|
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:
https://www.googleapis.com/auth/cloudkms
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.