iya-sts
    Preparing search index...

    Variable start

    start: (
        opts: any,
    ) => Promise<
        | {
            branches?: undefined;
            built: boolean;
            certified?: undefined;
            errors?: undefined;
            ok: boolean;
        }
        | {
            branches?: undefined;
            built: boolean;
            certified?: undefined;
            errors: any;
            ok: boolean;
        }
        | {
            branches: number;
            built: boolean;
            certified: number;
            errors?: undefined;
            ok: boolean;
        },
    > = start

    Type Declaration

      • (
            opts: any,
        ): Promise<
            | {
                branches?: undefined;
                built: boolean;
                certified?: undefined;
                errors?: undefined;
                ok: boolean;
            }
            | {
                branches?: undefined;
                built: boolean;
                certified?: undefined;
                errors: any;
                ok: boolean;
            }
            | {
                branches: number;
                built: boolean;
                certified: number;
                errors?: undefined;
                ok: boolean;
            },
        >
      • Builds the certificate hierarchy at startup, where there is none, and certifies the keys this service already holds.

        A failure is logged and the service starts with self-signed keys; pki.autoBuild off builds nothing.

        Parameters

        • opts: any

          realmIds, and keySetFor and keySetHeldFor, the key-set providers the realm watcher uses

        Returns Promise<
            | {
                branches?: undefined;
                built: boolean;
                certified?: undefined;
                errors?: undefined;
                ok: boolean;
            }
            | {
                branches?: undefined;
                built: boolean;
                certified?: undefined;
                errors: any;
                ok: boolean;
            }
            | {
                branches: number;
                built: boolean;
                certified: number;
                errors?: undefined;
                ok: boolean;
            },
        >

        a promise of { ok, built, ... }