Cannot download artifacts from a private repo

In my Artifacts.toml file I put the link to the raw file that I want to download from gitlab.
But since my project is private I am getting the error:

Error: RequestError: HTTP/2 404 while requesting https://<my link to the file>

I also checked that when I am connected to gitlab, the link downloads the file, but when I am not connected I get a 404 error.

Is there the possibility to give access to this file ? Maybe by puting an access token in the Artifacts.toml file ?

I had the same issue, so I decided to create PrivateArtifacts.jl for this. I mainly use it to get releases artifacts from private github repos, but it also supports gitlab, s3 and other sources. It uses the regular Artifacts.toml and gh, glab or aws cli to authenticate and download. Check out and feel free to open any issues :slight_smile: