Skip to content

app.service_accounts

TableRow level security on

Non-human members with their own audit identity (Settings, API keys and service accounts). Each is a sign-in, a person and a membership in its org holding one role; API keys attached to it act as it.

Primary key: id

Columns of app.service_accounts
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org. A row never moves to another org.References app.organizations.id
nametextNoService account name, for example Ledger Export Bot.
owner_person_iduuidNoPerson accountable for the service account.References app.people.id
expires_attimestamp with time zoneYesWhen the service account stops working; null for no expiry.
user_iduuidNoSign-in of the service account (auth.users). It has no password and never signs in interactively.References auth.users.id
person_iduuidNoPerson row of the service account, the actor recorded in audit columns.References app.people.id
membership_iduuidNoMembership that carries the service account's role in the org.References app.memberships.id
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.