salt/doc/ref/cli/salt-key.rst
2012-05-22 22:43:12 -06:00

1.2 KiB

salt-key

Synopsis

salt-key [ options ]

Description

Salt-key executes simple management of Salt server public keys used for authentication.

Options

salt-key

-h, --help

Print a usage message briefly summarizing these command-line options.

-l, --list

List the unaccepted minion public keys.

-L, --list-all

List all public keys on this Salt master: accepted, pending, and rejected.

-a ACCEPT, --accept=ACCEPT

Accept the named minion public key for command execution.

-A, --accept-all

Accepts all pending public keys.

-r REJECT, --reject=REJECT

Reject the named minion public key.

-R, --reject-all

Rejects all pending public keys.

-d DELETE, --delete=DELETE

Delete the named minion key for command execution.

-D DELETE_ALL, --delete-all=DELETE_ALL

Deleta all keys

-c CONFIG, --config=CONFIG

The master configuration file needs to be read to determine where the Salt keys are stored via the pki_dir configuration value; default=/etc/salt/master