Space Docs
Domain Model

Credential Request

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
workspaceIdstringYes—ID of the associated workspace
credentialIdstringNo—ID of the associated credential
siteIdstringYes—ID of the associated site
systemIdstringNo—ID of the associated system
requestTypeenum(new, modify, revoke, renew)Yes—Request type
requestedScopestringYes—Requested scope
impactedSystemsunknownYes—Impacted systems
requestedBystringYes—Requested by
assignedApproverstringNo—Assigned approver
statusenum(pending, approved, denied, cancelled)Yes—Status
policyCheckResultunknownNo—Policy check result
approvedBystringNo—Approved by
approvedAtstring.date-timeNo—Approved at
deniedReasonstringNo—Denied reason
notesstringNo—Notes

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
workspaceIdstringNo—ID of the associated workspace
credentialIdstringNo—ID of the associated credential
siteIdstringYes—ID of the associated site
systemIdstringNo—ID of the associated system
requestTypeenum(new, modify, revoke, renew)Yes—Request type
requestedScopestringYes—Requested scope
impactedSystemsunknownYes[]Impacted systems
requestedBystringYes—Requested by
assignedApproverstringNo—Assigned approver
statusenum(pending, approved, denied, cancelled)Yes"pending"Status
policyCheckResultunknownNo—Policy check result
approvedBystringNo—Approved by
approvedAtstring.date-timeNo—Approved at
deniedReasonstringNo—Denied reason
notesstringNo—Notes

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
credentialIdstringNo—ID of the associated credential
siteIdstringNo—ID of the associated site
systemIdstringNo—ID of the associated system
requestTypeenum(new, modify, revoke, renew)No—Request type
requestedScopestringNo—Requested scope
impactedSystemsunknownNo—Impacted systems
assignedApproverstringNo—Assigned approver
statusenum(pending, approved, denied, cancelled)No—Status
policyCheckResultunknownNo—Policy check result
approvedBystringNo—Approved by
approvedAtstring.date-timeNo—Approved at
deniedReasonstringNo—Denied reason
notesstringNo—Notes

On this page