COOK-3349 Added key_file attribute to resource and use this as the value for the -i cli parameter.
Merge branch 'COOK-3349'