Information
You should rotate the swarm manager auto-lock key periodically.
Rationale:
The swarm manager auto-lock key is not automatically rotated. Good security practice is to rotate keys.
Impact:
None
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
You should run the command below to rotate the keys.
docker swarm unlock-key --rotate
Additionally, to facilitate auditing of this recommendation, you should maintain key rotation records and ensure that you establish a pre-defined frequency for key rotation.
Default Value:
By default, keys are not rotated automatically.