tldr/pages/common/salt-key.md

22 lines
451 B
Markdown
Raw Normal View History

2014-07-27 20:36:19 +01:00
# salt-key
2015-10-22 08:31:52 +01:00
> Manages salt minion keys on the salt master.
> Needs to be run on the salt master, likely as root or with sudo.
> More information: <https://docs.saltstack.com/ref/cli/salt-key.html>.
2014-07-27 20:36:19 +01:00
- List all accepted, unaccepted and rejected minion keys:
2014-07-27 20:36:19 +01:00
`salt-key -L`
2016-01-20 11:41:38 +00:00
- Accept a minion key by name:
2014-07-27 20:36:19 +01:00
`salt-key -a {{MINION_ID}}`
2016-01-20 11:41:38 +00:00
- Reject a minion key by name:
2014-07-27 20:36:19 +01:00
`salt-key -r {{MINION_ID}}`
- Print fingerprints of all public keys:
2014-07-27 20:36:19 +01:00
`salt-key -F`