I am writing a Coldfusion web app (for internal use) that allows our project managers to begin the deployment of a new project. A key component of that app requires it to clone a repository on github. I am stuck on communicating the credentials when I execute the git clone.
I think the canonical solution to this would be to set up a Machine User with a set of ssh keys, but I don't know how to associate the key with the server in a way that it would be available to the application.
I can have whatever access to the server I need in order to accomplish this.
I don't know if it's relevant, but here is the example code in question:
cfexecute(
variable = "output",
name = "c:\progra~2\git\bin\git.exe",
arguments = "clone ssh://[github path] d:\inetpub\wwwroot\[file path]",
timeout = 240
);