iya-sts
    Preparing search index...
    issue: (realmId: string, draft: Draft) => Promise<Outcome> = ...

    Type Declaration

      • (realmId: string, draft: Draft): Promise<Outcome>
      • Issues a certificate from the draft: the key pair (generated or reused), the issuer, serial, validity, subject, extensions, the hybrid half and a certification request, and stores it in the realm's store.

        The draft comes back with a fresh serial and the certified key pair.

        Parameters

        • realmId: string

          the realm

        • draft: Draft

          the draft

        Returns Promise<Outcome>

        { ok: true, object, draft, dropped, why }, or { ok: false, errors } marked with its code