mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 16:42:35 +00:00
27 lines
554 B
Plaintext
27 lines
554 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|