SDK reference / Models / Secrets
SecretMergePatchUpdate
Kind: class
Namespace: Egulu.Sdk.Models.Secrets
A customer secret container (ADR-0208). Metadata only: get and list never carry secret values.Versions hold immutable encrypted payloads wrapped under per-project OpenBao Transit KEKs (kek-{projectUid}).
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | UntypedNode? | annotations | At most 256 KiB in all; never policy input. |
DisplayName | Models.Secrets.SecretMergePatchUpdate.SecretMergePatchUpdate_displayName? | displayName | Up to 63 characters. |
ExpireTime | Models.Secrets.SecretMergePatchUpdate.SecretMergePatchUpdate_expireTime? | expireTime | Optional expiration timestamp after which `:access` refuses all versions of this secret. |
Labels | UntypedNode? | labels | At most 64. |
PurgeProtection | Models.Secrets.SecretMergePatchUpdate.SecretMergePatchUpdate_purgeProtection? | purgeProtection | Purge protection (key vault, ADR-0293): while on, even an owner cannot destroy the secret early. Destroying a version is scheduled forthe soft-delete retention (7 days) instead of 24 hours, and `:purge` is refused until `purgeTime`. It can be switched on, never off. |
ReplicationLocations | Models.Secrets.SecretMergePatchUpdate.SecretMergePatchUpdate_replicationLocations? | replicationLocations | Optional target locations for replication within residency policy; empty means single-location in the project's home location. |
RotationPeriodDays | Models.Secrets.SecretMergePatchUpdate.SecretMergePatchUpdate_rotationPeriodDays? | rotationPeriodDays | Rotation schedule: how often a new version should be added (1..3650 days). The platform cannot invent a secret's value, so it reminds:once `nextRotationTime` passes, `rotationState` becomes `DUE` and the platform writes one `secrets.secret.rotation-due.v1` event(an event subscription can route it); adding a version starts the next period. Unset means no schedule. |