mirror of https://github.com/CrimsonTome/tldr.git
22 lines
451 B
Markdown
22 lines
451 B
Markdown
# salt-key
|
|
|
|
> 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>.
|
|
|
|
- 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`
|