puppetlabs / provision

Simple tasks to provision and tear_down containers / instances and virtual machines.
Apache License 2.0
20 stars 53 forks source link

(feat) Add ssh key support to abs ssh transport #182

Closed jpartlow closed 2 years ago

jpartlow commented 3 years ago

Allows for an ABS_SSH_PRIVATE_KEY env variable to provide a path to a local private key for the inventory ssh config rather than a password credential. Prefers ABS_SSH_PRIVATE_KEY if present.

This allows us to use ssh keys to reach abs hosts in CI.

I've been testing with my branch here:

https://github.com/puppetlabs/kurl_test/pull/47/files#diff-e6ffa5dc854b843b3ee3c3c28f8eae2f436c2df2b1ca299cca1fa5982e390cf8R36

MikaelSmith commented 3 years ago

@binford2k do you have anyone that should take a look at this?

daianamezdrea commented 2 years ago

Hi @jpartlow, I had a look on the PR and it looks good, I'll merge it now, thank you!