[SDK reference](../../index.md) / [Models](../index.md) / [Kms](index.md)

# CryptoKeyMergePatchUpdate

**Kind:** class  
**Namespace:** `Egulu.Sdk.Models.Kms`  

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

## Properties

| Name | Type | JSON name | Description |
|---|---|---|---|
| `ExpireTime` | `Models.Kms.CryptoKeyMergePatchUpdate.CryptoKeyMergePatchUpdate_expireTime?` | `expireTime` | When 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. |
| `PurgeProtection` | `Models.Kms.CryptoKeyMergePatchUpdate.CryptoKeyMergePatchUpdate_purgeProtection?` | `purgeProtection` | Purge 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. |
| `Purpose` | `Models.Kms.CryptoKeyMergePatchUpdate.CryptoKeyMergePatchUpdate_purpose?` | `purpose` | ENCRYPT_DECRYPT, the one purpose for now. |
| `RotationPeriodDays` | `Models.Kms.CryptoKeyMergePatchUpdate.CryptoKeyMergePatchUpdate_rotationPeriodDays?` | `rotationPeriodDays` | Rotation 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. |
