Download box from Jfrog Artifactory

Hi,

I am using Vagrant 2.3.4

Here is my vagrantfile content:

Vagrant.configure("2") do |config|

  # Here we create our box that has been provided by Matthew Kennerly on the optic team. This box was used for the RPOS automated testing.
  config.vm.box = 'repo/boxname'
  config.vm.box_url = 'https://xxxxx.jfrog.io/artifactory/repo/mybox.box'

  #config.vm.provision "shell", inline: <<-SHELL
  #  C:\\Windows\\System32\\curl.exe -sSf -H "X-JFrog-Art-Api:jfrogapikey" "https://xxxxx.jfrog.io/artifactory/repo/mybox.box"
  #SHELL

The issues are :

  • the size of my box is to quite huge ; over 2G. In consequence, i have memory issues.

Approach:
not to use the shell to download the box.
to use a communication between vagrant and jfrog with token

My Question:
Would you mind to drive me how to setup that ?

Looking forward your support
Regards
AM