iya-sts
    Preparing search index...
    checkRecord: (
        record: any,
        trustDomain: any,
    ) => { errorCode: string; errors: any[]; ok: boolean } = ...

    Type Declaration

      • (
            record: any,
            trustDomain: any,
        ): { errorCode: string; errors: any[]; ok: boolean }
      • Checks a registration entry record before it is written: its SPIFFE ID in the trust domain and not reserved, its parent, its selectors and its lifetimes.

        Parameters

        • record: any

          the record

        • trustDomain: any

          the trust domain it must belong to

        Returns { errorCode: string; errors: any[]; ok: boolean }

        ok, the errors, and the error code of the first refusal