iya-sts
    Preparing search index...

    Variable registerCertificate

    registerCertificate: (realmId: any, opts: any) => Promise<any> = registerCertificate

    Type Declaration

      • (realmId: any, opts: any): Promise<any>
      • Registers a certificate an operator uploads in place of an issued key pair, after checking its chain.

        A leaf from this realm's authority may arrive alone; any other needs its whole chain to a self-signed root. An upload carrying a private key is refused.

        Parameters

        • realmId: any

          the realm

        • opts: any

          certificatePem, chainPem, identifier, subjectKind and purpose

        Returns Promise<any>

        a promise of { ok: true, registered } or a refusal