How do you get the Templar armor in Assassin’s Creed IV Black Flag?

Quick answer: Collect all five Templar keys, then go to the locked vault in your manor on Great Inagua. Edward uses the keys and puts on the armor.
Show walkthrough (quest spoilers)
Get five keys
One key comes from Julien du Casse in the main story and four from the Templar Hunts. See where the Templar keys are.
Go to Great Inagua
Fast travel to the manor at your Great Inagua hideout. Find the locked Templar vault inside the estate. If you are missing keys, Edward uses the ones he has and says he needs more.
Wear it
When all the locks are open, Edward puts on the armor right away. It cuts the damage you take, which makes it one of the best outfits for hard fights.
If a key is missing
Check that you finished all four missions of every hunt: Opia Apito, Rhona Dinsmore, Anto and Vance Travers. The key comes only from the last mission of each. See the Templar Hunts walkthrough.
