presto-main/src/main/java/io/prestosql/server/InternalAuthenticationManager.java/InternalAuthenticationManager/generateJwt
class InternalAuthenticationManager:    private static String generateJwt(byte[] hmac, String nodeId)
    {
        return Jwts.builder()
                .signWith(SignatureAlgorithm.HS256, hmac)
                .setSubject(nodeId)
                .setExpiration(Date.from(ZonedDateTime.now().plusMinutes(5).toInstant()))
                .compact();
    }