salt.wheel.key

Wheel system wrapper for key system

salt.wheel.key.accept(match)

Accept keys based on a glob match

salt.wheel.key.accept_dict(match)

Accept keys based on a dict of keys

Example to move a list of keys from the minions_pre (pending) directory to the minions (accepted) directory:

{
    'minions_pre': [
        'jerry',
        'stuart',
        'bob',
    ],
}
salt.wheel.key.delete(match)

Delete keys based on a glob match

salt.wheel.key.delete_dict(match)

Delete keys based on a dict of keys

salt.wheel.key.finger(match)

Return the matching key fingerprints

salt.wheel.key.gen(id_=None, keysize=2048)

Generate a key pair. No keys are stored on the master, a keypair is returned as a dict containing pub and priv keys

salt.wheel.key.gen_accept(id_, keysize=2048, force=False)

Generate a key pair then accept the public key. This function returns the key pair in a dict, only the public key is preserved on the master.

salt.wheel.key.key_str(match)

Return the key strings

salt.wheel.key.list(match)

List all the keys under a named status

salt.wheel.key.list_all()

List all the keys

salt.wheel.key.reject(match)

Reject keys based on a glob match

salt.wheel.key.reject_dict(match)

Reject keys based on a dict of keys