title: Deploying website from private Github repository using ARM Templates
body: <p>I am trying to create a website through Azure Resource Manager and then deploy from a private Github repository. </p>
  
  <p>I have an ARM Template that works for a public repository. if I then make the repository private, connect to it through the Portal it all works fine. </p>
  
  <p>If I redeploy the ARM Template it will fail with the message </p>
  
  <pre><code>"Cannot find SourceControlToken with name GitHub."
  </code></pre>
  
  <p>It seems that when the portal connects to a private repo it will create an ssh key that is used to authenticate. </p>
  
  <p>The ssh key appears to come from kudu which can be gotten once the site is deployed. </p>
  
  <p>I have also tried using access tokens, but couldn't get these to work with the repourl </p>
  
  <p>So the simple question is, how do I deploy a private repo via ARM template </p>