saltstack/salt — pull request #1216 by skruger (2012-05-05 21:57:09+00:00)
Title: Add SSH key based authentication support to git commands and states.

Remote git commands now support identity files for SSH. The identity file must be local to the minion before the git command is executed. A script called salt-git-ssh was added to help work around limitations in what you can pass in the GIT_SSH environment variable.

The git state works the same except that adding "- identity: " allows access to ssh git repositories.