Add support for remote repositories with API key