Status of the credentials currently installed for a datasource instance.
| Field | Type | Required | Description |
|---|---|---|---|
status |
models.DatasourceCredentialStatus | ✔️ | Lifecycle state of the credentials installed for a datasource instance. Mirrors the internal admin Status enum so the handler can surface the same health signals already tracked today. EXPIRING_SOON is represented as VALID_WITH_WARNINGS (with detail in message); EXPIRED is surfaced as INVALID plus a non-null expiresAt in the past. |
last_rotated_at |
date | ➖ | When the credentials were last rotated. Omitted when not known. |
expires_at |
date | ➖ | When the active credentials expire. Omitted when not known or not applicable to this credential type. |
message |
Optional[str] | ➖ | Optional human-readable detail about the current credential status. |