Split building the key import command into into its own method
Split building the key import command into into its own method

Easier to follow and easier to test

Signed-off-by: Tim Smith <764ef62106582a09ed09dfa0b6bff7c05fd7d1e4@chef.io>

gene1wood/chef,martinisoft/chef,mattray/chef,nvwls/chef,mwrock/chef,martinisoft/chef,mwrock/chef,mattray/chef,jaymzh/chef,juliandunn/chef,gene1wood/chef,Tensibai/chef,chef/chef,martinisoft/chef,juliandunn/chef,tomdoherty/chef,juliandunn/chef,chef/chef,nvwls/chef,tomdoherty/chef,Ppjet6/chef,nvwls/chef,juliandunn/chef,chef/chef,tas50/chef-1,mwrock/chef,Tensibai/chef,nvwls/chef,gene1wood/chef,higanworks/chef,tas50/chef-1,MsysTechnologiesllc/chef,mwrock/chef,gene1wood/chef,martinisoft/chef,MsysTechnologiesllc/chef,Ppjet6/chef,Ppjet6/chef,nvwls/chef,Ppjet6/chef,juliandunn/chef,Ppjet6/chef,MsysTechnologiesllc/chef,nvwls/chef,Tensibai/chef,Tensibai/chef,higanworks/chef,higanworks/chef,tas50/chef-1,higanworks/chef,mattray/chef,higanworks/chef,tomdoherty/chef,tomdoherty/chef,mattray/chef,martinisoft/chef,mattray/chef,MsysTechnologiesllc/chef,chef/chef,tas50/chef-1,tomdoherty/chef,jaymzh/chef,Tensibai/chef,Ppjet6/chef,jaymzh/chef,jaymzh/chef