curl, you can use the standard
format to define your username
and passwords to the server you are importing from.
For exampe, to make script files in private GitHub repos accessible, create a
~/.netrc file that contains something like:
login token is a GitHub "personal access token".
Follow the instructions in that link to create one for yourself.
After that, an
import call to a private repo will work as expected:
Your GitHub credentials ARE NEVER given to the
They are only used locally by
curl once the server redirects to the
private repo URL.