The energy secretary has told Sky News that the government will "fight people's corner" as the war in Iran threatens a fresh energy price crisis.