Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

26
salt-key Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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.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`