title: 'Including' private project file using `$CI_JOB_TOKEN`
body: <p>What I got so far is, it is possible to Authenticate with <code>Personal Access Token</code> and <strong>include</strong> external CI script but a cleaner approach would be to get access using <code>$CI_JOB_TOKEN</code> since it is more secure and restricted. I am looking into if it can be done this way -</p>
  <pre><code>include 'https://gitlab-ci-token:${CI_JOB_TOKEN}@raw-file-url'
  </code></pre>
  <p>I have tried to curl in this format in a dummy script job, but it fails to fetch the file.</p>
  <p>Apparently, an external script can be imported using file API and $CI_JOB_TOKEN (<a href="https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2346/diffs" rel="nofollow noreferrer">https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2346/diffs</a>), but I am looking into if <code>include</code> feature also support this. Any suggestion on how to achieve that is appreciated.</p>