presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/DriverConnectionFactory.java/DriverConnectionFactory/getCredentialProperties
class DriverConnectionFactory:    private Properties getCredentialProperties(JdbcIdentity identity)
    {
        Properties properties = new Properties();
        properties.putAll(connectionProperties);
        credentialProvider.getConnectionUser(Optional.of(identity))
                .ifPresent(userName -> properties.setProperty("user", userName));

        credentialProvider.getConnectionPassword(Optional.of(identity))
                .ifPresent(password -> properties.setProperty("password", password));
        return properties;
    }