iya-sts
    Preparing search index...
    intervalMs: (unit: string, keys?: any) => number = ...

    Type Declaration

      • (unit: string, keys?: any): number
      • Returns how long a unit's key works before its next key is promoted.

        A credential-only signer uses signing.credentialRotationIntervalDays; a unit tokens also sign with keeps the shorter of the two intervals.

        Parameters

        • unit: string

          the signing unit

        • Optionalkeys: any

          optional key set

        Returns number

        the interval in milliseconds (0 means off)