SDK reference / Models / Kms

CryptoKeyMergePatchUpdate

Kind: class

Namespace: Egulu.Sdk.Models.Kms

A symmetric key for encryption and decryption (AES-256-GCM in OpenBao Transit).

Properties

NameTypeJSON nameDescription
ExpireTimeModels.Kms.CryptoKeyMergePatchUpdate.CryptoKeyMergePatchUpdate_expireTime?expireTimeWhen the key expires (key vault, ADR-0293). From that moment `:encrypt` and `:decrypt` refuse with `failed-precondition` naming the date;the owner extends the expiry with `updateMask=expireTime` or rotates to a new key. The platform warns at 30, 7 and 1 days and at expiry(`kms.crypto-key.expiring.v1`). Unset means the key does not expire.
PurgeProtectionModels.Kms.CryptoKeyMergePatchUpdate.CryptoKeyMergePatchUpdate_purgeProtection?purgeProtectionPurge protection: while on, even an owner cannot make the key's material unreadable early. Destroying a version is scheduled for theretention period (30 days) instead of 24 hours, and a deleted key cannot be purged before `purgeTime`. It can be switched on, never off.
PurposeModels.Kms.CryptoKeyMergePatchUpdate.CryptoKeyMergePatchUpdate_purpose?purposeENCRYPT_DECRYPT, the one purpose for now.
RotationPeriodDaysModels.Kms.CryptoKeyMergePatchUpdate.CryptoKeyMergePatchUpdate_rotationPeriodDays?rotationPeriodDaysRotation schedule: how often a new version should be made (1..3650 days). The platform reminds, it does not rotate by itself: once`nextRotationTime` passes, `rotationState` becomes `DUE` and one `kms.crypto-key.rotation-due.v1` event is written; creating a versionstarts the next period. Unset means no schedule.