This could be an [ssh_auth state][ssh-state] instead.

[ssh-state]: http://docs.saltstack.com/en/latest/ref/states/all/salt.states.ssh_auth.html