iya-sts
    Preparing search index...

    Variable signCsr

    signCsr: (
        csrDer: any,
        id: any,
        options: any,
    ) => Promise<
        {
            certificate: {
                fingerprint256: any;
                issuer: string;
                serialNumber: any;
                subject: string;
                validFrom: any;
                validTo: any;
            };
            certificateDer: any;
            certificatePem: any;
            chainCertificatesDer: any[];
            chainDer: any;
            chainPem: any[];
            expiresAt: number;
            hint: any;
            notAfter: any;
            notBefore: any;
            serialHex: any;
            spiffeId: string;
        },
    > = ...

    Type Declaration

      • (
            csrDer: any,
            id: any,
            options: any,
        ): Promise<
            {
                certificate: {
                    fingerprint256: any;
                    issuer: string;
                    serialNumber: any;
                    subject: string;
                    validFrom: any;
                    validTo: any;
                };
                certificateDer: any;
                certificatePem: any;
                chainCertificatesDer: any[];
                chainDer: any;
                chainPem: any[];
                expiresAt: number;
                hint: any;
                notAfter: any;
                notBefore: any;
                serialHex: any;
                spiffeId: string;
            },
        >
      • Signs a CSR for a SPIFFE ID the caller decided, reading only the key from the CSR.

        Parameters

        • csrDer: any

          the CSR

        • id: any

          the SPIFFE ID the certificate names

        • options: any

          the realm and lifetime

        Returns Promise<
            {
                certificate: {
                    fingerprint256: any;
                    issuer: string;
                    serialNumber: any;
                    subject: string;
                    validFrom: any;
                    validTo: any;
                };
                certificateDer: any;
                certificatePem: any;
                chainCertificatesDer: any[];
                chainDer: any;
                chainPem: any[];
                expiresAt: number;
                hint: any;
                notAfter: any;
                notBefore: any;
                serialHex: any;
                spiffeId: string;
            },
        >

        the certificate and its chain

        an Error when the CSR cannot be read or the ID is refused