A key minister in Brazilian President Michel Temer's government resigned Friday over a scandal that has cast a shadow over the President himself.