1

Our puppet code lives on github, so we pull to the puppet master.

But our github repository is private. Is standard (best) practice to give the puppet master ssh keys to github without passphrase (what github calls a deploy key)? Can/should I do better?

jma
  • 425
  • 6
  • 16

1 Answers1

1

Through conversations with colleagues, it appears that the answer is two things:

  • Github deployment keys are usually the way to go. In addition, they can be made to provide read-only access if desired. They also limit access to a single repository.
  • Yes, the private key has to go on my host, since github necessarily has the public key. At some level, we have to trust security on our own hosts (although the trust should be calculated, controlled, continuously reviewed, and limited in case of intrusion).
jma
  • 425
  • 6
  • 16