Add ENV variables to mask credentials
Remove direct call to spark API