One of France's Secretaries of State under the Ancien Régime was entrusted with control of the French Navy (Secretary of State of the Navy (France).)
The two French royal fleets (the Ponant fleet and Levant fleet) were put under the control of Colbert from 1662, whilst he was "intendant des finances" and "minister of state" – but not "secretary of state" : he only became secretary of state in 1669 after having bought his way into the post.
From then on, right up to the French Revolution, a secretary of state had responsibility for the fleet.
The secretary of state was responsible for the administration of both the navy (the "marine royale") and civilian (merchant marine) fleets, and for all France's ports, arsenals, consulates, and colonies, as well as the guardianship for all her commercial companies.
To his two original offices (the bureau du Ponant and bureau du Levant) other services were added over time: These different offices and departments were regrouped into four super-departments by marshal de Castries in 1786.