The repo.magento.com repository is where Magento 2 and third-party Composer packages are stored and requires authentication. Use your Magento Marketplace account to generate a pair of 32-character authentication keys to access the repository.
https://devdocs.magento.com/guides/v2.2/install-gde/prereq/connect-auth.html