Public Repositories are used when you want to widely distribute artifacts that your team produces to the rest of the world.
Examples of use cases that benefit from public artifact repositories:
- Open Source Libraries
- SDK Publishers
Read access to public repositories is available to anyone with an internet connection. No authentication is performed and so your artifacts are made available to the public.
Write access is never unauthenticated and occurs on a separate URL than the public read URL. If you attempt to publish artifacts to the repository’s public URL, the publish event will fail.
Private Repositories are the default repository type in CloudRepo. Private repositories require authenticated access for both read and write operations.
Read Only Users¶
Read Only Users are for those who don’t want to allow public access to their repositories but still want to allow read only access to a CloudRepo repository.
A read only user must still authenticate when retrieving artifacts but they are limited to reading from the repositories - ie they many not publish or upload artifacts.
A typical usage of read only users is to create read only users for your developers, who only need to download artifacts. Publishing of new artifacts can be restricted to your Continuous Integration process to ensure that there is only one path for new artifacts to enter your system.