Method: importJobs.create

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

Create a new ImportJob within a KeyRing.

ImportJob.import_method is required.

HTTP request

POST https://cloudkms.googleapis.com/v1/{parent=projects/*/locations/*/keyRings/*}/importJobs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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

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.

Try it!

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

Send feedback about...