Where are the Templar keys in Assassin’s Creed IV Black Flag?

Quick answer: One key is from the main story (Julien du Casse). The other four are rewards from the Templar Hunts of Opia Apito, Rhona Dinsmore, Anto and Vance Travers.
Show walkthrough (quest spoilers)
Story key
You take one key from Julien du Casse after Edward kills him in the main story. It cannot be missed.
Opia Apito and Rhona Dinsmore
Opia Apito’s hunt starts in the Cayman Sound area and ends when you assassinate Lucia Marquez on Pinos Isle. Rhona Dinsmore’s hunt starts south of Havana and ends with Hilary Flint in Havana. Each gives one key.
Anto and Vance Travers
Anto’s hunt starts at the Assassin bureau in south Kingston and ends with Kenneth Abraham. Vance Travers’s hunt starts near the center of Nassau and ends with the pirate queen Jing Lang. Each gives one key.
Use the keys
Take all five keys to the vault in your Great Inagua manor to get the Templar armor. See the Templar Hunts walkthrough for the full order.
