1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 22:42:08 +02:00
tldr/pages/common/salt-key.md
Lena c9775847b6
pages/*: use the imperative in descriptions (#12574)
* pages/*: use the imperative in descriptions

* go-fmt: put the description on one line
2024-04-18 09:34:00 +05:30

21 lines
461 B
Markdown

# salt-key
> Manage 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.saltproject.io/en/latest/ref/cli/salt-key.html>.
- List all accepted, unaccepted and rejected minion keys:
`salt-key -L`
- Accept a minion key by name:
`salt-key -a {{MINION_ID}}`
- Reject a minion key by name:
`salt-key -r {{MINION_ID}}`
- Print fingerprints of all public keys:
`salt-key -F`