# salt.engines.stalekey

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.

New in version 2017.7.0.

configuration:

  Example configuration:

      engines:
        - stalekey:
            interval: 3600
            expire: 86400

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

  Start the engine