Checks what would make an entry a service account, without writing: the
owners (each a person or a group in this realm, never selfDn; at most
MAX_OWNERS; at least one while the policy's requireOwner is on), and
the destination with the secret's name, both or neither. Asked by
set(), and by the console's and the API's create BEFORE the person
exists, so a refused account is never left behind as an ordinary person.
Parameters
given: Record<string,any>
owners (an array, or one per line), destination,
secretName
OptionalselfDn: string
the account's own DN, or '' for one not created yet
Checks what would make an entry a service account, without writing: the owners (each a person or a group in this realm, never
selfDn; at most MAX_OWNERS; at least one while the policy'srequireOwneris on), and the destination with the secret's name, both or neither. Asked byset(), and by the console's and the API's create BEFORE the person exists, so a refused account is never left behind as an ordinary person.