People and groups
Exporting a person's data
On this page
Introduction
A person can ask what an organisation holds about them, under a right of access or a right to data portability. Answering means finding every place their data is kept, and handing it over without handing over anything that would let somebody sign in as them.
Signari puts everything it keeps about one person into one JSON document. The document is the same however it is asked for, and every export is recorded before the document leaves.
The person can download it from their account page. An administrator can export
it with signari export subject, from the console, or through the Admin API.
Note
Erasing a person is the other half: destroying what this exports.
Who can export it
It answers a request under a right of access or of portability, and it is the same document however it is asked for:
| Who | How |
|---|---|
| The person | /account/export, linked from their account page: a recent sign-in, never an impersonation, and every channel the account has is told when a copy is downloaded |
| An operator | signari export subject -subject-id <uuid> -out <file>, which needs SIGNARI_ROOT_KEY and writes the file readable by its owner only |
| An operator in the console | "Export their data" on the person's row, after a confirmation, offered only when the operator's sign-in carries subjects:export. The file is the engine's document as it came, named by the person's id rather than their address, and the engine's record names the console's token and the operator |
| Automation | GET /admin/subjects/{subjectID}/export with a subjects:export token (Admin API access) |
Each export is recorded before the document leaves. It is recorded as
account.exported for the person and admin.subject_exported for an
administrator, with which way it went and who. The record holds a row count,
never the contents, so an inquiry into a disclosure can see who was given a
person's data.
What is in it
The document looks like this, and each part is described below it:
JSON{ "format": "signari-subject-export/1", "subject_id": "…", "exported_at": "2026-10-22T09:14:00Z", "tables": { "users": [ … ], "sessions": [ … ], "consents": [ … ], … }, "attributes": [ { "name": "home_address", "value": "…", "readable": true } ], "withheld": { "password_credentials": ["hash"], "sessions": ["cookie_hash", "ip_hash"], … }}
tables holds the person's rows from every table that keeps them, by table, as
the database holds them. They are the account, every sign-in method, the
sessions and the applications each one reached, and what each application was
given. They are also the consents, the profile, group memberships and
permissions, provisioning links, and the audit entries about them.
Every table is present even when it holds nothing of theirs. So an empty list means there is nothing there, not that the table was skipped.
attributes are their attribute values. A personal attribute is sealed under
the person's own key, so the document unseals it. readable: false means the
key has been destroyed by an erasure.
What is withheld, and why
A credential appears as being there, never as its value. These are left out:
- the hash of a password, of a session cookie, or of a recovery or one-time code;
- a sealed secret for an authenticator application;
- the wrapped key itself.
withheld names each column left out of each table.
That a password is set, when it was changed and that two recovery codes remain are all still there. What is not there is anything that could be used to sign in as them. Nor is anything that could attack their password offline, from wherever the file ends up.
The rule is by type rather than by list. Every binary column is withheld except
public key material: a passkey's credential ID, public key and authenticator
model, and the account's WebAuthn userHandle.
A text column that holds a credential, such as a password hash, is withheld by name. A test fails when a column whose name sounds like a credential is neither withheld nor explained.
Rows about the person, not by them
Some rows name a person as the one who acted:
- the invitations they sent;
- the memberships and permissions they granted;
- the sessions of someone they impersonated;
- the audit entries for what they did to other accounts.
Those rows belong to the people they are about, and an invitation carries the invitee's address. A person's export does not include them. A person's own entries in the trail, the ones about their account, are included.
How every table is found
A test holds the list of places the export looks to the database schema. It derives every place a person's rows can be kept:
- every foreign key to the accounts table;
- every table whose rows are deleted along with one of those;
- every column named for a person that has no foreign key at all.
A new table that keeps a person's rows fails the build. It passes once the export takes the rows from it, or says the column names the one who acted.