This section describes how to enable authentication for Aptly repositories.
In this case, access to Aptly API is restricted to anonymous users and granted
through <aptly_user>:<aptly_user_password>
.
Prior to enabling authentication, configure it through the installed proxy service such as NGINX or HAProxy:
If Aptly is running on the offline node or in the non-Swarm mode, configure authentication through NGINX.
Starting from the MCP 2019.2.7 maintenance update, if Aptly is running on the
cid
nodes, configure authentication through HAProxy.