How To Install Salt-key?

How To Install Salt-key?

salt-key

Manages salt minion keys on the salt master.
Needs to be run on the salt master, likely as root or with sudo.

Maintainer: Debian Salt Team



Section: admin

Install salt-key

  • Debian apt-get install salt-master Click to copy
  • Ubuntu apt-get install salt-master Click to copy
  • Alpine OS apk add salt Click to copy
  • Arch Linux pacman -S salt Click to copy
  • Fedora dnf install salt-master Click to copy
  • Raspbian apt-get install salt-master Click to copy
  • macOS brew install salt Click to copy

Manages salt minion keys on the salt master. Needs to be run on the salt master, likely as root or with sudo.

How to use salt-key?

Below are few example commands for salt-key that you can use in the terminal.

List all accepted, unaccepted and rejected minion keys:
salt-key -LClick to copy
Accept a minion key by name:
salt-key -a MINION_IDClick to copy
Reject a minion key by name:
salt-key -r MINION_IDClick to copy
Print fingerprints of all public keys:
salt-key -FClick to copy
To install the latest version of salt-key in your favorite operating system just copy the salt-key installation command from above and paste it into terminal. It will download and install the latest version of salt-key 2026 package in your OS.