If you want to provide a user with time-limited access to an artifact, you may use the Signed URL REST API. Here is a step-by-step guide:
1. Create the signed URL for the artifact in question:
curl -XPOST "https://<servername>.jfrog.io/artifactory/api/signed/url" -H "Content-Type: application/json" -u admin -d '{"repo_path":"debian-local/blimps-example_3.9-1_amd64.deb","valid_for_secs":3600}'
2. You will receive the Signed URL in the response:
https://<servername>.jfrog.io/artifactory/debian-local/blimps-example_3.9-1_amd64.deb?sig=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhdml2YiIsInVlPfjMcXVlc3QiOiJmYWxzZSIsInN1bSI6IjUyMzMzNzI5M2YyNDMwOGRkOTliOWUxZTI5ODdhNDA2OTA3ZDVlMTU4MGZiMTRhNDY4N2ZmOWZhYzMyZDk0MGEiLCJleHAiOjE2NjE1NTg3M39fHjlhdCI6MTY2MTU0ODcwMn0.gXYAtkz4TVLe_O76643y6hn3HTElzGR_XVS5rrsnCic
3. Share the Signed URL with the desired user. In order to download the artifact, they may either open the link in the browser or run an HTTP request, such as:
curl “https://<servername>.jfrog.io/artifactory/debian-local/blimps-example_3.9-1_amd64.deb?sig=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJhdml2YiIsInVlPfjMcXVlc3QiOiJmYWxzZSIsInN1bSI6IjUyMzMzNzI5M2YyNDMwOGRkOTliOWUxZTI5ODdhNDA2OTA3ZDVlMTU4MGZiMTRhNDY4N2ZmOWZhYzMyZDk0MGEiLCJleHAiOjE2NjE1NTg3M39fHjlhdCI6MTY2MTU0ODcwMn0.gXYAtkz4TVLe_O76643y6hn3HTElzGR_XVS5rrsnCic” -L -o blimps-example_3.9-1_amd64.deb
---
This feature is only available for Artifactory Cloud customers with Enterprise or Enterprise+ subscriptions.