Hello All -
I have been using Vagrant to setup VMs and also call scripts from GitHub repos that are open, as in not password protected, using the RAW link to the scripts.
Example:
and then:
vagrantDocker.vm.provision "shell", path: script_SetupDocker
However, am unable to run those same scripts when in a BitBucket Repo, which is not public but password protected.
Would there be a way to call scripts that I can provide a username to (of BitBucket or GitHub) and then it asks me for the password once?
It would be great if it asked me for the password once and not for each script.
I have been able to call scripts sending an array of arguments.
I am thinking there must be some way to send a username and then type in a password?
Or should my BitBucket repo should have an ssh key based authentication already set up?
Please let me know when you get a chance.
Thank you for your help.
Mono