salt.engines.stalekey module

An engine that uses presence detection to keep track of which minions have been recently connected and remove their keys if they have not been connected for a certain period of time.

Requires that the minion_data_cache option be enabled.


Example configuration:

  - stalekey:
      interval: 3600
      expire: 86400
salt.engines.stalekey.start(interval=3600, expire=604800)