Where is the Carter Hydro Dam gate key in The Long Dark?

Quick answer: It is in a locker in the second trailer in front of the dam, called the Carter Hydro Staging Area Gate Key. Use it on the fence gate to reach the dam.
Show walkthrough (quest spoilers)
Find the trailers
Follow the railway from the Camp Office in Mystery Lake to the Carter Hydro Dam. In front of the fenced dam area is a group of trailers. The fence gate is locked, so check the trailers first.
The right trailer
The first trailer holds little of use. The second trailer has a locker with the Carter Hydro Staging Area Gate Key inside. Take it and walk back to the fence.
Open the gate
Use the key on the fence gate to enter the staging area. Be ready: in story mode the Old Bear charges as soon as you step in. Will shuts the gate in time but is knocked out.
What’s next
After you wake, go into the dam to look for the medicine and radio parts. See The Wounded Trapper walkthrough for the rest of the mission.
