New in version 2018.3.0.
To automatically accept minions based on certain characteristics, e.g. the
you can specify certain grain values on the salt master. Minions with matching grains
will have their keys automatically accepted.
Place a file named like the grain in the autosign_grains_dir and write the values that
should be accepted automatically inside that file. For example to automatically
accept minions based on their
uuid create a file named
The master is now setup to accept minions with either of the two specified uuids.
Multiple values must always be written into separate lines.
Lines starting with a
# are ignored.
autosign_grains: - uuid
Now you should be able to start salt-minion and run
state.apply or any other salt commands that require master authentication.