electric-it / minimart

MiniMart RubyGem for Chef cookbook mirroring and storage.
Apache License 2.0
52 stars 20 forks source link

Can this be used when authentication to github is required? #60

Closed daxgames closed 6 years ago

daxgames commented 6 years ago

I know this works with anonymous access to Github but what if access to Github or a private repo requires authentication?

daxgames commented 6 years ago

Answered my own question. Yes it does as long as the inventory.yml has credentials for https connection to github. Not ideal since creds are in the clear in a text file but my inventory.yml is ephemeral and does not persist past the mirror run. I assume this would also work with git@* endpoints and ssh keys but did not try that.