2014-07-27 20:36:19 +01:00
|
|
|
# salt-key
|
2015-10-22 08:31:52 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Manages salt minion keys on the salt master.
|
|
|
|
> Needs to be run on the salt master, likely as root or with sudo.
|
2014-07-27 20:36:19 +01:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- List all accepted, unaccepted and rejected minion keys:
|
2014-07-27 20:36:19 +01:00
|
|
|
|
|
|
|
`salt-key -L`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Accept or reject a minion key by name:
|
2014-07-27 20:36:19 +01:00
|
|
|
|
|
|
|
`salt-key -a {{MINION_ID}}`
|
|
|
|
`salt-key -r {{MINION_ID}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Print fingerprints of all public keys:
|
2014-07-27 20:36:19 +01:00
|
|
|
|
|
|
|
`salt-key -F`
|