iya-sts
    Preparing search index...
    recover: (spec: any) => any = ...

    Type Declaration

      • (spec: any): any
      • Recovers an escrowed key: the holder's own (the portal), or a person's for an administrator the access-control policy lets (the console and /admin-api).

        Parameters

        • spec: any

          username (whose), serialHex, actor, door ('portal' or 'admin-api'), roles (the administrator's, for the policy)

        Returns any

        { ok, privateKeyPem, certificatePem, chainPem, record }, or a refusal