Method: importJobs.create

Full name: projects.locations.keyRings.importJobs.create

Create a new ImportJob within a KeyRing.

ImportJob.import_method is required.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The name of the KeyRing associated with the ImportJobs.

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

  • cloudkms.importJobs.create

Query parameters

Parameters
importJobId

string

Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

Request body

The request body contains an instance of ImportJob.

Response body

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

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.