iya-sts
    Preparing search index...

    Variable mintJwtSvid

    mintJwtSvid: (
        id: any,
        audiences: any,
        options: any,
    ) => Promise<
        {
            alg: any;
            audiences: any;
            expiresAt: any;
            hint: any;
            issuedAt: number;
            jti: any;
            kid: any;
            spiffeId: string;
            token: any;
        },
    > = ...

    Type Declaration

      • (
            id: any,
            audiences: any,
            options: any,
        ): Promise<
            {
                alg: any;
                audiences: any;
                expiresAt: any;
                hint: any;
                issuedAt: number;
                jti: any;
                kid: any;
                spiffeId: string;
                token: any;
            },
        >
      • Mints a JWT-SVID for a SPIFFE ID and its audiences; it carries no iss.

        Parameters

        • id: any

          the SPIFFE ID

        • audiences: any

          at least one audience

        • options: any

          the realm, lifetime and hint

        Returns Promise<
            {
                alg: any;
                audiences: any;
                expiresAt: any;
                hint: any;
                issuedAt: number;
                jti: any;
                kid: any;
                spiffeId: string;
                token: any;
            },
        >

        the token, with its SPIFFE ID, audiences, times, jti, kid and alg

        an Error for an invalid ID, no audience, or a realm that cannot issue