Split out key management and hardcoded repos into separate variables.

See the example versions/*.sh files for usage.