Key Ring Import Job
A KeyRingImportJob can be used to create CryptoKeys and CryptoKeyVersions using pre-existing key material, generated outside of Cloud KMS. A KeyRingImportJob expires 3 days after it is created. Once expired, Cloud KMS will no longer be able to import or unwrap any key material that was wrapped with the KeyRingImportJob's public key.
Note: KeyRingImportJobs cannot be deleted from Google Cloud Platform. Destroying a provider-managed KeyRingImportJob will remove it from state but will not delete the resource from the project. To get more information about KeyRingImportJob, see:
How-to Guides
Importing a key {{% examples %}}
Example Usage
{{% /examples %}}
Import
KeyRingImportJob can be imported using any of these accepted formats* {{name}} In Terraform v1.5.0 and later, use an import block to import KeyRingImportJob using one of the formats above. For exampletf import { id = "{{name}}" to = google_kms_key_ring_import_job.default }
$ pulumi import gcp:kms/keyRingImportJob:KeyRingImportJob When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), KeyRingImportJob can be imported using one of the formats above. For example$ pulumi import gcp:kms/keyRingImportJob:KeyRingImportJob default {{name}}Properties
Statement that was generated and signed by the key creator (for example, an HSM) at key creation time. Use this statement to verify attributes of the key as stored on the HSM, independently of Google. Only present if the chosen ImportMethod is one with a protection level of HSM. Structure is documented below.