I am just getting started with salt and I am wondering how the saltmaster is being authenticated against the clients. I know that when connecting a minion the master has to accept the public key of the minion and therefore no unauthorized minions can connect. But what keeps someone from pretending to be the saltmaster, have all minions connecting to the wrong server and happily executing code and giving full access to an attacker?
Of course the minion connects to a given IP Address or hostname but it should be quite easy to hijack that...