Domain Model
Secret
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | string.uuid | Yes | — | Id |
| createdAt | string.date-time | Yes | — | Created at |
| updatedAt | string.date-time | Yes | — | Updated at |
| workspaceId | string | Yes | — | ID of the associated workspace |
| assetId | unknown | Yes | — | ID of the associated asset |
| systemId | unknown | Yes | — | ID of the associated system |
| systemName | string | Yes | — | System name |
| username | unknown | Yes | — | Username |
| host | unknown | Yes | — | Host |
| port | unknown | Yes | — | Port |
| notes | unknown | Yes | — | Notes |
| createdByUserId | unknown | Yes | — | ID of the associated created by user |
| updatedByUserId | unknown | Yes | — | ID of the associated updated by user |
Create Schema
Fields accepted when creating a new record:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| assetId | string | No | — | ID of the associated asset |
| systemId | string | No | — | ID of the associated system |
| systemName | string | Yes | — | System name |
| username | string | No | — | Username |
| password | string | Yes | — | Password |
| host | string | No | — | Host |
| port | integer | No | — | Port |
| notes | string | No | — | Notes |
Update Schema
All fields are optional when updating:
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| systemName | string | No | — | System name |
| username | unknown | No | — | Username |
| password | string | No | — | Password |
| host | unknown | No | — | Host |
| port | unknown | No | — | Port |
| notes | unknown | No | — | Notes |