SDK reference / Models / Kms
ImportJob
Kind: class
Namespace: Egulu.Sdk.Models.Kms
An import job of a key ring (bring your own key, ADR-0293). It hands out the public RSA wrapping key (4096 bits; a weaker one is refused): thecustomer wraps an AES-256 key to it as an ephemeral AES key under RSA-OAEP (SHA-256) followed by the key under AES-KWP, the format of OpenBaoTransit's import, and posts the bytes to cryptoKeys/{key}:importVersion. The platform forwards them and never holds the key in the clear.A job is single-use and lasts 24 hours; a project has at most 10 open jobs.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Algorithm | string? | algorithm | `RSA_OAEP_SHA256_AES_KWP`, the one wrapping format. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
ExpireTime | DateTimeOffset? | expireTime | When the job stops accepting a key (24 hours after it was made). |
ImportedVersion | string? | importedVersion | The key version made from it, once used. |
Name | string? | name | projects/{project}/locations/{location}/keyRings/{keyRing}/importJobs/{importJob}. |
PublicKeyBits | int? | publicKeyBits | The size of the wrapping key in bits (at least 3072). |
PublicKeyFingerprint | string? | publicKeyFingerprint | Lower-case hex SHA-256 of the DER public key, to check what you wrapped to. |
PublicKeyPem | string? | publicKeyPem | The public key to wrap to (PEM, SPKI). It holds nothing secret. |
State | Models.Kms.ImportJobState? | state | Import job states. |
Uid | string? | uid | The uid property |