Satellite quantum key distribution (SatQKD) intermediated by a trusted satellite in a low-Earth orbit to ground stations along the satellite’s path allows remote users to connect securely. To establish a secure connection, a SatQKD session must be conducted to each user over a dynamically changing free-space link, all within just a few hundred seconds. Because of the short time and large losses under which the QKD protocol will be implemented, it has not yet been possible to form a complete key by transmitting all the relevant information required within a single overpass of the satellite. Here, we demonstrate a real-time QKD system that is capable of forming a 4.58-megabit secure key between two nodes within an emulated satellite overpass. We anticipate that our system will set the stage for practical implementations of intercontinental quantum secure communications that can operate over large networks of nodes and enable the secure transmission of data globally.