If infura is to be accessed as the RPC provider it should be via the RPC URL env vars, so it will be easy to switch between providers.
If infura is to be accessed as the RPC provider it should be via the RPC URL env vars, so it will be easy to switch between providers.