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

NameTypeJSON nameDescription
Algorithmstring?algorithm`RSA_OAEP_SHA256_AES_KWP`, the one wrapping format.
CreateTimeDateTimeOffset?createTimeThe createTime property
ExpireTimeDateTimeOffset?expireTimeWhen the job stops accepting a key (24 hours after it was made).
ImportedVersionstring?importedVersionThe key version made from it, once used.
Namestring?nameprojects/{project}/locations/{location}/keyRings/{keyRing}/importJobs/{importJob}.
PublicKeyBitsint?publicKeyBitsThe size of the wrapping key in bits (at least 3072).
PublicKeyFingerprintstring?publicKeyFingerprintLower-case hex SHA-256 of the DER public key, to check what you wrapped to.
PublicKeyPemstring?publicKeyPemThe public key to wrap to (PEM, SPKI). It holds nothing secret.
StateModels.Kms.ImportJobState?stateImport job states.
Uidstring?uidThe uid property