snippetbashTip
salt-key — Manage salt minion keys on the salt master. Needs to be run on the salt master, likely as root or wi
Viewed 0 times
keysthecommandminionsaltclimanagesalt-key
Problem
How to use the
salt-key command: 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>.Solution
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|--list-all]}}Accept a minion key by name:
salt-key {{[-a|--accept-all]}} {{MINION_ID}}Reject a minion key by name:
salt-key {{[-r|--reject]}} {{MINION_ID}}Print fingerprints of all public keys:
salt-key {{[-F|--finger-all]}}Code Snippets
List all accepted, unaccepted, and rejected minion keys
salt-key {{[-L|--list-all]}}Accept a minion key by name
salt-key {{[-a|--accept-all]}} {{MINION_ID}}Reject a minion key by name
salt-key {{[-r|--reject]}} {{MINION_ID}}Print fingerprints of all public keys
salt-key {{[-F|--finger-all]}}Context
tldr-pages: common/salt-key
Revisions (0)
No revisions yet.