Hi,
We typically use Swarm slaves to attach to master. ssh keys are only present in Jenkins master, they are passed on to slaves dynamically. This really helps restricting the ssh keys to master only.
workflow plugin does support credentials for gitSCM or general SCM class. We want same feature for other steps specially 'sh'.
Is there any workaround or any other means to accomplish same thing?