The space shuttle was funded and designed to meet Department of Defense specifications. Its cargo bay designed to ferry satellites up and to potentially return them back to earth.
Keyhole satellites were seriously cool. Photos were taken on film, and the film reels were jettisoned over the ocean. C-130 transports would capture the payloads as they parachuted back to earth: