the person
serviceAccount, owners, destination, secretName
Optionalopts: { caller?: string }
caller, the username of the person asking, from the
verified token and never from a request body; absent for nobody known
{ ok: true, account, changed }, or a refusal with a code
Makes a person a service account, or changes one. A service account is never made a person again (rcbj, 2026-11-15):
serviceAccountfalse on one is refused, STS-SVCACCT-0060; on an ordinary person it changes nothing. Deleting the entry is the only way an account ends.owners— the WHOLE list, which replaces what the account names; each a DN, username or group name, at least one while the policy'srequireOwneris on (#600) — anddestination(an application entry's DN) withsecretName, both or neither. On a service account the owners may not become none, nor may the caller take themselves off (ownerChangeRefusal()).