knife with encrypted client key?

187 views Asked by At

Is it possible to use knife with an encrypted client key on a workstation? It seems to be asking for the client key a lot (tens of times) during a berks install for example and it fails randomly sometimes.

So my question would be if it was possible to set the client key password in the knife.rb some way, that could be read from input when that file is parsed for example?

Thanks,

1

There are 1 answers

2
coderanger On BEST ANSWER

No, this is not supported. The last time someone asked I recommended they look into patching Chef to support using key data from ssh-agent, but I never heard back from them.