hiera-eyaml icon indicating copy to clipboard operation
hiera-eyaml copied to clipboard

Permit reading private key from environment variable

Open nferch opened this issue 5 years ago • 3 comments

Has it been considered to permit reading the private key from an environment variable?

This would avoid it being written to disk, if you're using some other means to manage it, such as using a secrets management system, or in my case, invoking Puppet masterless remotely through Ansible.

From a cursory look at the code this looks pretty simple and invasive to implement, so if folks think this idea has wheels I'm happy to do a PoC.

nferch avatar Jul 17 '19 17:07 nferch

@bastelfreak or perhaps @alexjfisher any thoughts?

nferch avatar Sep 03 '19 23:09 nferch

@nferch sounds like a good idea, could you please provide a patch for this?

bastelfreak avatar Sep 04 '19 05:09 bastelfreak

This would be great. Pub/private keys loadable via env vars solve a gap in containerization persistence.

rismoney avatar Nov 14 '19 16:11 rismoney