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

    Type Declaration

      • (realmId: string, draft: Draft, objectId?: string): Promise<Outcome>
      • Exports a key pair as PEM, DER, a JWK set or a password-protected PKCS#12: the selected object's, or the one in the draft's key boxes.

        Parameters

        • realmId: string

          the realm

        • draft: Draft

          the draft, carrying the format, password and chain choice

        • OptionalobjectId: string

          the stored object's id; the draft's pair when absent

        Returns Promise<Outcome>

        { ok: true, files, status, truncated }, or { ok: false, errors }